Book Image

Hands-On Enterprise Java Microservices with Eclipse MicroProfile

By : Cesar Saavedra, Heiko W. Rupp, Jeff Mesnil, Pavol Loffay, Antoine Sabot-Durand, Scott Stark
Book Image

Hands-On Enterprise Java Microservices with Eclipse MicroProfile

By: Cesar Saavedra, Heiko W. Rupp, Jeff Mesnil, Pavol Loffay, Antoine Sabot-Durand, Scott Stark

Overview of this book

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.
Table of Contents (18 chapters)
Free Chapter
1
Section 1: MicroProfile in the Digital Economy
4
Section 2: MicroProfile's Current Capabilities
9
Section 3: MicroProfile Implementations and Roadmap
11
Section 4: A Working MicroProfile Example
13
Section 5: A Peek into the Future

What this book covers

Chapter 1, Introduction to Eclipse MicroProfile, frames the discussion within the context of the digital economy and describes what an enterprise Java microservice is and what the rest of the book will cover.

Chapter 2, Governance and Contributions, covers governance, processes, and how to contribute to the MicroProfile project.

Chapter 3, MicroProfile Config and Fault Tolerance, goes over config and fault tolerance in MicroProfile sub-projects in detail, explaining what problem each solves and giving code examples for each.

Chapter 4, MicroProfile Health Check and JWT Propagation, takes you through the Health Check and JWT Propagation sub-projects, helping you understand what challenges they tackle with the help of code examples.

Chapter 5, MicroProfile Metrics and OpenTracing, discusses the Metrics and OpenTracing sub-projects and the problems they solve. You will learn how to work with code examples of these sub-projects.

Chapter 6, MicroProfile OpenAPI and Type-Safe REST Client, covers two more sub-projects: OpenAPI and type-safe REST client. This chapter will help you work with code examples and understand the utility of these sub-projects in solving your enterprise problems.

Chapter 7, MicroProfile Implementations, Quarkus, and Interoperability via the Conference Application, provides details on the implementations of MicroProfile that are currently available on the market and discusses the project's progress to date. It also delves into The Conference Application, a demo that showcases the integration of different vendors' implementations of MicroProfile.

Chapter 8, A Working Eclipse MicroProfile Code Sample, provides a fully working project developed using MicroProfile (based on the Conference Application) and also gives coordinates to download the assets described.

Chapter 9, Reactive Programming and Future Developments, goes over present APIs currently being incubated/developed and APIs being discussed for future inclusion in the MicroProfile specification. In addition, it covers MicroProfile candidate APIs for reactive programming as well as potential future relationships between MicroProfile and Jakarta EE.

Chapter 10, MicroProfile in Multi-Cloud Environments, discusses how MicroProfile is a great specification for microservices-based applications in the cloud and provides guidance and considerations for using MicroProfile in hybrid-cloud and multi-cloud environments.