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 3
Using NoSQL Databases with Java EE
Sometimes, relational object mapping using JPA is not a good fit for your data model and you may want to use a NoSQL data store. While there is no dedicated API, you can easily retrofit the functionality by using CDI, JSON-P, or JSON-B in combination with a native driver like the Mongo DB Java client. - Set up the database infrastructure with Docker Compose - Add dependencies and CDI integration for MongoDB client - Store document data using JSON-P, JSON-B, and JAX-RS