Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Enterprise Java Microservices with Eclipse MicroProfile

You're reading from   Hands-On Enterprise Java Microservices with Eclipse MicroProfile Build and optimize your microservice architecture with Java

Arrow left icon
Product type Paperback
Published in Aug 2019
Publisher Packt
ISBN-13 9781838643102
Length 256 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (6):
Arrow left icon
Scott Stark Scott Stark
Author Profile Icon Scott Stark
Scott Stark
Pavol Loffay Pavol Loffay
Author Profile Icon Pavol Loffay
Pavol Loffay
Heiko W. Rupp Heiko W. Rupp
Author Profile Icon Heiko W. Rupp
Heiko W. Rupp
Antoine Sabot-Durand Antoine Sabot-Durand
Author Profile Icon Antoine Sabot-Durand
Antoine Sabot-Durand
Cesar Saavedra Cesar Saavedra
Author Profile Icon Cesar Saavedra
Cesar Saavedra
Jeff Mesnil Jeff Mesnil
Author Profile Icon Jeff Mesnil
Jeff Mesnil
+2 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Section 1: MicroProfile in the Digital Economy FREE CHAPTER
2. Introduction to Eclipse MicroProfile 3. Governance and Contributions 4. Section 2: MicroProfile's Current Capabilities
5. MicroProfile Config and Fault Tolerance 6. MicroProfile Health Check and JWT Propagation 7. MicroProfile Metrics and OpenTracing 8. MicroProfile OpenAPI and Type-Safe REST Client 9. Section 3: MicroProfile Implementations and Roadmap
10. MicroProfile Implementations, Quarkus, and Interoperability via the Conference Application 11. Section 4: A Working MicroProfile Example
12. A Working Eclipse MicroProfile Code Sample 13. Section 5: A Peek into the Future
14. Reactive Programming and Future Developments 15. Using MicroProfile in Multi-Cloud Environments 16. Assessments 17. Other Books You May Enjoy

Understanding Eclipse MicroProfile Fault Tolerance

Fault Tolerance provides a collection of tools that prevent code from failing by making it more resilient. Most of these tools are inspired by development good practices (such as retry or fallback) or well-known development patterns (such as circuit breaker or bulkhead).

Fault Tolerance is based on CDI and, more precisely, on the CDI interceptor implementation. It also relies on the MicroProfile Config specification to allow external configuration for Fault Tolerance policies.

The main idea of the specification is to decouple business logic from Fault Tolerance boilerplate code. To achieve that, the specification defines interceptor-binding annotations to apply Fault Tolerance policies on a method execution or on a class (in that case, all class methods have the same policy).

Policies included in the Fault Tolerance specification...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image