Book Image

Cloud-Native Application Development with Java EE [Video]

By : Mario-Leander Reimer
5 (2)
Book Image

Cloud-Native Application Development with Java EE [Video]

5 (2)
By: Mario-Leander Reimer

Overview of this book

In a world of modern business models and digital products, the use of monolithic applications run classical infrastructure is just not feasible anymore. Many organizations have already begun resorting to the elasticity of the cloud as it offers them greater agility, availability, resilience, and portability. This video course is a one-stop solution for developers and architects, teaching them to understand the challenges faced in building cloud-native applications, using Java EE 8 and some additional well know open-source components and APIs. In combination, these APIs enable you to easily build hyperscale, elastic, loosely coupled, reliable, observable and secure microservices. Throughout this course, we address the different challenges you need to master to build truly cloud-native applications with Java EE. By the end of this course, you will be equipped with enough knowledge and practical experience to get your next cloud-native Java EE microservices up-and-running in no time, and with ease. All the code and supporting files for this course are available on GitHub at https://github.com/PacktPublishing/Cloud-native-Application-Development-with-Java-EE
Table of Contents (6 chapters)
Chapter 3
Configuration and Coordination
Content Locked
Section 1
Multi-Source Configuration with MicroProfile Configuration
According to the 12-factor app principles, any configuration values should be stored in the environment and not in the application. Using MicroProfile Config APIs, we can easily access ENV variables, system properties or other config sources and inject the configuration properties using CDI. - Add the MicroProfile config dependency - Use @Inject @ConfigProperty to get config values - Add MicroProfile Config converters for custom types