O'Reilly logo

Hands-On Enterprise Java Microservices with Eclipse MicroProfile by Scott Stark, Antoine Sabot-Durand, Pavol Loffay, Jeff Mesnil, Heiko W. Rupp, Cesar Saavedra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we learned how to use MicroProfile Config to configure MicroProfile applications and MicroProfile Fault Tolerance to make them more resilient. 

In MicroProfile Config, the sources of the configuration can be many; some values come from properties files and others from system properties or environment variables, but they are all accessed consistently from the Java application. The values will likely differ according to the deployment environment (for example, testing and production) but that is transparent in the application code.

MicroProfile Fault Tolerance helps to prevent failure in applications by applying specific policies in the code. It comes with default behavior but can be configured thanks to MicroProfile ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required