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
Explore 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
€26.98 €29.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1 (7 Ratings)
eBook Sep 2021 404 pages 1st Edition
eBook
€26.98 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.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
€26.98 €29.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1 (7 Ratings)
eBook Sep 2021 404 pages 1st Edition
eBook
€26.98 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€26.98 €29.99
Paperback
€36.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Practical Cloud-Native Java Development with MicroProfile

Left arrow icon Right arrow icon
Download code icon Download Code

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 : 9781801072052
Vendor :
Eclipse Foundation
Concepts :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

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

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ 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
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ 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
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ 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 115.97
Modern API Development with Spring and Spring Boot
€36.99
Building Microservices with Micronaut®
€41.99
Practical Cloud-Native Java Development with MicroProfile
€36.99
Total 115.97 Stars icon

Table of Contents

17 Chapters
Section 1: Cloud-Native Applications Chevron down icon Chevron up icon
Chapter 1: Cloud-Native Applications Chevron down icon Chevron up icon
Chapter 2: How Does MicroProfile Fit into Cloud-Native Application Development? Chevron down icon Chevron up icon
Chapter 3: Introducing the IBM Stock Trader Cloud-Native Application Chevron down icon Chevron up icon
Section 2: MicroProfile 4.1 Deep Dive Chevron down icon Chevron up icon
Chapter 4: Developing Cloud-Native Applications Chevron down icon Chevron up icon
Chapter 5: Enhancing Cloud-Native Applications Chevron down icon Chevron up icon
Chapter 6: Observing and Monitoring Cloud-Native Applications Chevron down icon Chevron up icon
Chapter 7: MicroProfile Ecosystem with Open Liberty, Docker, and Kubernetes Chevron down icon Chevron up icon
Section 3: End-to-End Project Using MicroProfile Chevron down icon Chevron up icon
Chapter 8: Building and Testing Your Cloud-Native Application Chevron down icon Chevron up icon
Chapter 9: Deployment and Day 2 Operations Chevron down icon Chevron up icon
Section 4: MicroProfile Standalone Specifications and the Future Chevron down icon Chevron up icon
Chapter 10: Reactive Cloud-Native Applications Chevron down icon Chevron up icon
Chapter 11: MicroProfile GraphQL Chevron down icon Chevron up icon
Chapter 12: MicroProfile LRA and the Future of MicroProfile Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

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
Matt Jan 26, 2022
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
I purchased this book on packtpub.com, not Amazon, but I couldn't find a review mechanism on that site.I bought this book because I want to learn more about using Java to make web applications/APIs. I've been using the Java language for years, but whenever I tried to learn how to use Java to actually make something and deploy it, I got overwhelmed. There's so much out there... Jakarta EE, Micronaut, and all the other stuff. It feels like if you try to learn Java development from scratch these days, everything you find online assumes you know things already, as if you've already been using Java in production for years and you just need to learn about new stuff.This book is the first one on Java development that seemed holistic. Its approach was helpful for me. It starts by explaining what makes an application cloud native and why MicroProfile helps with this. It touches on the difference between MicroProfile and Jakarta EE, and lists some example implementations like Quarkus. Throughout the book, it uses Open Liberty as an example implementation. This gave me a starting point where I could finally grok what enterprise Java was all about.It was after reading the first few chapters that I knew the basics of JAX-RS, JSON-P, and JSON-B, and had an idea of what Open Liberty was. That was when I realized I could start writing some code to learn hands on. I needed to pick a MicroProfile implementation, so I picked Open Liberty because that's what the book uses. When I read the Open Liberty documentation, I found it to be just as approachable as this book, so it was a great choice for example implementation.When I got to the section on advanced MicroProfile usage, I found the content to be a bit dry. It throws a lot of the MicroProfile spec at you, and it has a small example for each part of the spec. But it doesn't explain how to use it in a complete application. I guess the idea is that you'd consult the IBM Stock Trader application that was presented at the beginning of the book as reference, but it would have been nice to see real world examples as I go too. I feel like it would have made more sense to have the chapters introduce the parts of the spec by showing the example application being built. Without this insight as I go, this part feels more like reference material than a book. For reference material, I'd rather consult online documentation. So that's an area where the book could be improved.I haven't finished the book yet, but despite its flaws I described above, I already know I don't regret my purchase. The book is still the most approachable on enterprise Java that I've found so far. I probably won't even end up using Open Liberty in production. But I like using it as a starting point for learning MicroProfile, knowing I can move to other implementations of it later if I want to. This book was the enterprise Java resource I was looking for.
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
GenX Oct 13, 2021
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
If you are an experienced java/java ee developer working on cloud-native java applications then this book is for you. This book teaches you how to use Microprofile with Java EE framework to produce cloud-native applications.Authors have done a commendable job to explain what it means to be cloud-native and how to create a full-fledged cloud native java based applications.The book is divided into three sections:First section creates a landscape to help understand the fundamentals of cloud-native, microservices, distributed applications, 12 factor app, microprofile, the solo pieces of a puzzle which book beautifully pieces together to answer one being questions "what is a cloud-native app and how does java/ee/microprofile promise to create one?".Next sections delves in to the depth of microprofile specification and how it principally aligns its components to the methodologies of "12 factor app". Each component of microprofile is covered in details with concrete examples chosen from real world scenarios.This sections goes above and beyond call of duty and extends the reader's knowledge on how to deploy/operate a microprofile application on kubernetes by explaining basic building blocks of docker/kubernetes.Third and last section puts everything in action and like Authors say it in the book "This is where the rubber meets the road". The famous IBMStockTraderApplication is conceived/designed/developed and deployed on kubernetes cluster.What I Liked about the book======================My philosophy of understanding something new in java world has always been "start with specification" to understand "why I need it" and ends with documentation to know "how do I do it". This books does just that. It explains each and every concept like you are reading a specification and introduces the code snippets like a documentation to show how you do it. Authors have marvellously found the balance between theory and code. The chapters on standalone microprofile components like Microprofile ReactiveMessaging, Microprofile ContextPropogation, Microprofile GraphQL brings a completeness to the book and were delight to read.What I did not like about the book==========================I believe that book was short of explaining and showing how to achieve asynchronous/reactive applications using JAX-RS and Microprofile RestClient by showing how to pass the context from jax-rs to rest clients. While authors have tried to explain each parts in isolation, I guess they should have shown the complete working example of it since many of the components are new and readers might find it hard to visualise and code this pattern.Disclaimer : I received the free copy of the book for the evaluation and review. I have been developing cloud-native application using microprofile from 3 years.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.