Hands-On Enterprise Java Microservices with Eclipse MicroProfile Build and optimize your microservice architecture with Java

Cesar Saavedra (Author), Heiko W. Rupp , Jeff Mesnil , Pavol Loffay , Antoine Sabot-Durand , Scott Stark


Key Features

  • Create cloud-native microservices with ease using this detailed guide
  • Avoid vendor lock-in when implementing microservices using Eclipse MicroProfile
  • Discover why MicroProfile is a great specification for building microservices in multi-cloud environments

Book Description

Eclipse MicroProfile has gained momentum in the industry as a multi-vendor, interoperable, community-driven specification. It is a major disruptor that allows organizations with large investments in enterprise Java to move to microservices without spending a lot on retraining their workforce.

This book is based on MicroProfile 2.2, however, it will guide you in running your applications in MicroProfile 3.0. You'll start by understanding why microservices are important in the digital economy and how MicroProfile addresses the need for enterprise Java microservices. You'll learn about the subprojects that make up a MicroProfile, its value proposition to organizations and developers, and its processes and governance. As you advance, the book takes you through the capabilities and code examples of MicroProfile's subprojects - Config, Fault Tolerance, Health Check, JWT Propagation, Metrics, and OpenTracing. Finally, you'll be guided in developing a conference application using Eclipse MicroProfile, and explore possible scenarios of what's next in MicroProfile with Jakarta EE.

By the end of this book, you'll have gained a clear understanding of Eclipse MicroProfile and its role in enterprise Java microservices.

What you will learn

  • Understand why microservices are important in the digital economy
  • Analyze how MicroProfile addresses the need for enterprise Java microservices
  • Test and secure your applications with Eclipse MicroProfile
  • Get to grips with various MicroProfile capabilities such as OpenAPI and Typesafe REST Client
  • Explore reactive programming with MicroProfile Stream and Messaging candidate APIs
  • Discover and implement coding best practices using MicroProfile

Who this book is for

If you're a Java developer who wants to create enterprise microservices, this book is for you. Familiarity with Java EE and the concept of microservices will help you get the most out of this book.


Cesar Saavedra has been working in the IT industry since 1990 and holds a Master of Science degree in Computer Science and a Master of Business Administration. He has worked as a developer, consultant, technical seller, and technical marketer throughout his career. He currently does technical product marketing for Red Hat JBoss Enterprise Application Platform (EAP), Eclipse MicroProfile, OpenJDK, Quarkus and Jakarta EE. He also manages the technical marketing for the runtimes, integration, BPM and rules management portfolio, and works closely with engineering and product management on thought leadership. Cesar has authored white papers, eBooks, and blogposts, and has been a conference and webinar speaker presenting to customers and partners.

Heiko W. Rupp is an open source enthusiast working for more than a decade at Red Hat in the area of middleware monitoring and management. In this role he has been project lead of the RHQ and Hawkular monitoring systems and has also been contributing to various other projects like Kiali.

Currently he helps defining the next way of Java Microservices with his work on Eclipse MicroProfile. As such he is the spec lead of the Eclipse MicroProfile Metrics effort and also contributing to other specifications. Heiko has written the first German book about JBossAS and one of the first German books on EJB3. He lives with his family in Stuttgart, Germany.

Jeff Mesnil is employed by Red Hat as a Senior Software Engineer and currently, works for JBoss, Red Hat's middleware division, on the WildFly and JBoss EAP application servers. He is a member of the core team in charge of developing the internals of the application servers and lead its messaging subsystem (which provides the JMS API).

Previously, he contributed to the HornetQ messaging broker that was integrated into WildFly and EAP.

He is a proponent of Open Source development and all the code he writes either professionally or privately is available under Open Source licenses, these days, it is mostly hosted on GitHub.

He has a keen interest on messaging systems and wrote several Open Source libraries related to messaging.

Pavol Loffay is Senior Software Engineer at Red Hat. Pavol is working on observability tools for microservice architectures. He is mostly involved in the tracing domain, where he is an active committer on the Jaeger and OpenTracing projects. He is also a member of the OpenTracing Specification Council (OTSC) and a lead for the MicroProfile-OpenTracing specification. He has authored many blog posts and presented at several conferences. In his free time, Pavol likes to climb mountains and ski steep slopes in the Alps.

Antoine Sabot-Durand is a Java Champion who works for Red Hat where he leads the Java EE, now Jakarta EE CDI spec. He is also involved in various projects linked to the CDI ecosystem, MicroProfile, and Jakarta EE. He is also Member of Devoxx France committee. He lives in France with his wife and 3 kids.

Scott Stark started in chemical engineering, got steered into parallel computers as part of his Ph.D. work, and then made software his career, starting with a stint in finance/wall street. He then got into open source with the fledgling JBoss company, working on the application server and Java EE. He has worked with microkernel efforts, IoT efforts, standards, Jakarta EE, Eclipse MicroProfile and Quarkus. He lives in the Pacific Northwest with his wife.


  1. Introduction to Eclipse Microprofile
  2. Governance and Contributions
  3. MicroProfile Config and Fault Tolerance APIs/capabilities
  4. MicroProfile Health Check and JWT Propagation
  5. MicroProfile Metrics and Open Tracing APIs/capabilities
  6. MicroProfile OpenAPI and Typesafe REST Client
  7. Implementing and Developing Conference Application through Eclipse MicroProfile
  8. A Working Eclipse MicroProfile Code Sample
  9. Reactive Programming and Future Developments
  10. MicroProfile in Multi-cloud Environments