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 4
Session Replication for Stateful Java Web Applications
Cloud-native applications and microservices ought to be stateless. Unfortunately, some Java EE APIs such as JSF and even JPA are stateful. In order to use these in a cloud-native environment, they require that the state is replicated between the instances. - Mark the Java web app as <distributable/> - Use an HTTP session with JAX-RS - Use @SessionScoped beans with JSF