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 4
Handling State and Persistence
Content Locked
Section 5
Distributed State Using the JCache APIs
Sometimes, you may want to store and cache temporary data in your clustered microservice instances. Usually you want that all instances see the same state, so it needs to be replicated between them. The JCache API provides a HashMap-like programming API to access and use an in-memory data grid technology like Hazelcast. - Add the JCache API dependency - Configure the Hazelcast JCache provider - Store distributed state and data using the JCache API