Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Practical Cloud-Native Java Development with MicroProfile
Practical Cloud-Native Java Development with MicroProfile

Practical Cloud-Native Java Development with MicroProfile: Develop and deploy scalable, resilient, and reactive cloud-native applications using MicroProfile 4.1

Arrow left icon
Profile Icon Emily Jiang Profile Icon McCright Profile Icon Alcorn Profile Icon Chan Profile Icon Nottingham +1 more Show less
Arrow right icon
$12.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1 (7 Ratings)
Paperback Sep 2021 404 pages 1st Edition
eBook
$39.99
Paperback
$48.99
Subscription
Free Trial
Renews at $12.99p/m
Arrow left icon
Profile Icon Emily Jiang Profile Icon McCright Profile Icon Alcorn Profile Icon Chan Profile Icon Nottingham +1 more Show less
Arrow right icon
$12.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1 (7 Ratings)
Paperback Sep 2021 404 pages 1st Edition
eBook
$39.99
Paperback
$48.99
Subscription
Free Trial
Renews at $12.99p/m
eBook
$39.99
Paperback
$48.99
Subscription
Free Trial
Renews at $12.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $15.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Key benefits

  • Apply your knowledge of MicroProfile APIs to develop cloud-native applications
  • Use MicroProfile Health to provide the startup, liveness, and readiness status of your enterprise application
  • Build an end-to-end stock trader project and containerize it to deploy to the cloud with Istio interaction

Description

In this cloud-native era, most applications are deployed in a cloud environment that is public, private, or a combination of both. To ensure that your application performs well in the cloud, you need to build an application that is cloud native. MicroProfile is one of the most popular frameworks for building cloud-native applications, and fits well with Kubernetes. As an open standard technology, MicroProfile helps improve application portability across all of MicroProfile's implementations. Practical Cloud-Native Java Development with MicroProfile is a comprehensive guide that helps you explore the advanced features and use cases of a variety of Jakarta and MicroProfile specifications. You'll start by learning how to develop a real-world stock trader application, and then move on to enhancing the application and adding day-2 operation considerations. You'll gradually advance to packaging and deploying the application. The book demonstrates the complete process of development through to deployment and concludes by showing you how to monitor the application's performance in the cloud. By the end of this book, you will master MicroProfile's latest features and be able to build fast and efficient cloud-native applications.

Who is this book for?

This book is for Java application developers and architects looking to build efficient applications using an open standard framework that performs well in the cloud. DevOps engineers who want to understand how cloud-native applications work will also find this book useful. A basic understanding of Java, Docker, Kubernetes, and cloud is needed to get the most out of this book.

What you will learn

  • Understand best practices for applying the 12-Factor methodology while building cloud-native applications
  • Create client-server architecture using MicroProfile Rest Client and JAX-RS
  • Configure your cloud-native application using MicroProfile Config
  • Secure your cloud-native application with MicroProfile JWT
  • Become well-versed with running your cloud-native applications in Open Liberty
  • Grasp MicroProfile Open Tracing and learn how to use Jaeger to view trace spans
  • Deploy Docker containers to Kubernetes and understand how to use ConfigMap and Secrets from Kubernetes

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 22, 2021
Length: 404 pages
Edition : 1st
Language : English
ISBN-13 : 9781801078801
Vendor :
Eclipse Foundation
Languages :
Concepts :

What do you get with a Packt Subscription?

Free for first 7 days. $15.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Sep 22, 2021
Length: 404 pages
Edition : 1st
Language : English
ISBN-13 : 9781801078801
Vendor :
Eclipse Foundation
Languages :
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$12.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$129.99 billed annually
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$179.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 6,500+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 152.97
Modern API Development with Spring and Spring Boot
$48.99
Building Microservices with Micronaut®
$54.99
Practical Cloud-Native Java Development with MicroProfile
$48.99
Total $ 152.97 Stars icon
Visually different images

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1
(7 Ratings)
5 star 14.3%
4 star 85.7%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




@book_a_holic_17 Oct 15, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
MicroProfile has grown to be a very capable set of standard API for doing cloud-native Java applications. A book like this is long overdue. This book has been authored by people heavily influential in the development of MicroProfile, both in terms of specifications as well as implementations. Needless to say, they know what they're talking about.The scope and structure of the book is well thought out. In the early chapters, it level-sets on the whole concept of cloud-native (this is necessary, because it's not a particularly well-defined term and so having a common perspective as you read is really helpful). Each of the chapters includes many useful code examples and all the code is available in a public git repository.The book gives a high-level overview of the history of MicroProfile and the roles of different specifications in relation to cloud-native. This is a helpful level-set before getting into the meat of things. It also introduces a comprehensive sample application demonstrating the concepts and technologies in a way that is closer to real-world than you tend to find in most books of this type.What follows is a deep-dive into the MicroProfile Platform from a developer and operations perspective. It starts with details on developing and consuming RESTful services. It then moves on to the more advanced topics of fault tolerance, publishing APIs, securing APIs and injecting configuration. Lastly it moves on to observability, covering the creation of health endpoints, producing metrics and tracing requests, all essential for observing and acting upon the health of your cloud-native applications. In subsequent chapters, the authors broaden out from MicroProfile to discuss where it fits within the context of the cloud-native technology ecosystem, covering Docker (Containers), Kubernetes and Service Mesh. There's also an all-too-important section on building and testing, and details on day-2 operations, the latter going into the role of Kubernetes operators, with examples shown in the popular OpenShift platform.Finally, the book takes a look at the MicroProfile standalone specifications (capabilities that are not part of the core platform). These include developing reactive applications, GraphQL for query-based services, and Long-running Actions for Saga-based transactions (an approach to coordinating updates across microservices where it is inappropriate to use distributed two-phase commit transactions).Overall, the depth of experience of the authors shines through in this book. The examples are detailed and will prove very helpful for anyone looking to create cloud-native applications with MicroProfile.
Amazon Verified review Amazon
Orozco Lopez Victor Leonel Sep 24, 2021
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Year after year many enterprise companies are struggling to embrace Cloud Native practices that we tend to denominate as Microservices, however Microservices is a metapattern that needs to follow a well defined approach, like:- (We aim for) reactive systems- (Hence we need a methodology like) 12 Cloud Native factors- (Implementing) well-known design patterns- (Dividing the system by using) Domain Driven Design- (Implementing microservices via) Microservices chassis and/or service mesh- (Achieving deployments by) Containers orchestrationMany of these concepts require a considerable amount of context, but some books, tutorials, conferences and YouTube videos tend to focus on specific niche information, making difficult to have a "cold start" in the microservices space if you have been developing regular/monolithic software. For me, that's the best thing about this book, it provides a holistic view to understand microservices with Java and MicroProfile for "cold starter developers".## About the bookUsing a software architect perspective, MicroProfile could be defined as a set of specifications (APIs) that many microservices chassis implement in order to solve common microservices problems through patterns, lessons learned from well known Java libraries, and proposals for collaboration between Java Enterprise vendors.Subsequently if you think that it sounds a lot like Java EE, that's right, it's the same spirit but on the microservices space with participation for many vendors, including vendors from the Java EE space -e.g. Red Hat, IBM, Apache, Payara-.The main value of this book is the willingness to go beyond the APIs, providing four structured sections that have different writing styles, for instance:- Section 1: Cloud Native Applications - Written as a didactical resource to learn fundamentals of distributed systems with Cloud Native approach- Section 2: MicroProfile Deep Dive - Written as a reference book with code snippets to understand the motivation, functionality and specific details in MicroProfile APIs and the relation between this APIs and common Microservices patterns -e.g. Remote procedure invocation, Health Check APIs, Externalized configuration-- Section 3: End-to-End Project Using MicroProfile - Written as a narrative workshop with source code already available, to understand the development and deployment process of Cloud Native applications with MicroProfile- Section 4: The standalone specifications - Written as a reference book with code snippets, it describes the development of newer specs that could be included in future under MicroProfile's umbrella## Things that could be improvedAs any review this is the most difficult section to write, but I think that a second edition should:- Extend the CDI section due its foundational status- Switch the order of the Stock Tracer presentation- Extend the data consistency discussión -e.g. CQRS, Event Sourcing-, hopefully with advances from LRAThe last item is mostly a wish since I'm always in the need for better ways to integrate this common practices with buses like Kafka or Camel using MicroProfile. I know that some implementations -e.g. Helidon, Quarkus- already have extensions for Kafka or Camel, but the data consistency is an entire discussion about patterns, tools and best practices.## Who should read this book?- Java developers with strong SE foundations and familiarity with the enterprise space (Spring/Java EE)
Amazon Verified review Amazon
K. Sutter Oct 18, 2021
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I might be a little biased because of my close relationship with both MicroProfile and Open Liberty, but this book would be an excellent addition to your Enterprise Java bookshelf! When I am in the market for a book on a technical topic, I look for numerous specific coding and deployment examples. This book has many code snippets, deployment scripts, and references to GitHub repositories that contain everything documented through out the book.If you are generally familiar with MicroProfile and its history, then I'd skip chapters 1-2 and jump directly to chapter 3, which gives an overview of the Stock Trader application which is used through out the book. If you want to continue to get your feet wet with technology, then skip to Chapter 8 which further explains how to build and test the Stock Trader application using Open Liberty’s implementation of MicroProfile. At this point, you’ll have a solid understanding of the Stock Trader Application.After experimenting with Stock Trader, you could go back and read through the chapters that outline the various technologies that make up the MicroProfile Platform. Chapter 4 focuses on the key technologies of MicroProfile -- JAX-RS, CDI, JSONB, JSONP, and Rest Client. Chapter 5 expands on that foundation by explaining the Config, Fault Tolerance, OpenAPI (documentation), and JWT (security) technologies. And, to finish off this MicroProfile description, chapter 6 documents the monitoring features -- Health, Metrics, and OpenTracing.Chapter 9 goes beyond the basic deployment scenarios which most books focus on. More advanced deployments with composite operators and OpenShift are explored and explained. My own experience with OpenShift is limited, so this chapter was very helpful with understanding the intricacies of deploying Stock Trader and then maintaining that deployment with Day 2 operations.The last section (chapters 10, 11, and 12) explores the MicroProfile components beyond the Platform. In addition, some thoughts are explored about the future direction of MicroProfile.This is an excellent technical reference for MicroProfile specifications and Open Liberty’s implementation of MicroProfile.. All of the authors are experts in their respective fields and the writing shows their technical expertise. I would recommend this book for anyone looking to expand their knowledge of MicroProfile.
Amazon Verified review Amazon
John Clingan Dec 15, 2021
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I work daily in the MicroProfile community, and closely with some of the authors. They have deep MicroProfile knowledge and experience. This book covers quite a bit of ground with a natural progression from a high-level introduction to developing with MicroProfile platform specifications (and Jakarta EE APIs required by MicroProfile), to "Day 2" operations, to standalone specifications and the future of MicroProfile.The domain model used to demonstrate MicroProfile APIs is the IBM Stock Trader application. It is a rich model that encompasses a lot of functionality through many services. Some of the services available to the Stock Trader are optional, which is good for focusing on the MicroProfile aspects. However, those services can be used in areas of personal interest for a deeper dive.Being more recent, this book covers some of the newer specifications like MicroProfile GraphQL and MicroProfile LRA (Long Running Actions). It also covers other "standalone" specifications like MicroProfile Reactive Messaging and MicroProfile Context Propagation. While not all of these specifications are used in the context of Stock Trader, the specification coverage is pretty complete.I definitely recommend this book, especially if you are interested in combining the breadth of Jakarta EE APIs with MicroProfile APIs.
Amazon Verified review Amazon
Thorsten Gau Jan 02, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I am 25+ years in IT, building large scale business solutions in C++. Java, JavaScript and Python, and was looking for a book that gives me the "full picture" on how to develop containerized solutions in a lean and standardized way with Java. This book fully met my expectations."Phew, 403 pages are a lot" I though when first opening the e-book. Thanks to the clear structure, it's good to read piece by piece:I directly jumped to chapter 2 "MicroProfile Fit & Cloud-Native Application Development". Just 17 pages. I learned about the MicroProfile maturity and the choice of 11 runtine environements (aka application servers) and the MicroProfile starten. Nice job!Section 2 (chapters 4-7) is the core of what I needed: The MicroProfile specs (JAX-RS, JSON-B/P, RESTful, CDI, Config, Fault Tolerance, OpenAPI, JWT, Health, Metrics, Tracing) are explained one by one.Section 3 (chapters 8+9) show and end-to-end example.Section 4 (chapters 10-12) covers advanced topics and future direction: Context propagation, reactive messaging, GraphQL and more.I fully recommend the book to others who want a well structured introduction into a very relevant standard.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.