-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Persistence Best Practices for Java Applications
By :

Designing an application with multiple database systems is one of the hardest things to do in the software world. Fortunately, there is a specification that makes it easier to implement polyglot persistence in Java. It is a persistence-agnostic API that connects to different types of databases and storage sources seamlessly. The API offered by Jakarta Data enables convenient access to data technologies, making it possible for Java developers to divide their persistence and model concerns into distinct features. For instance, a repository interface can be created with a query method that the framework will implement.
Exploring agnostic design patterns is one of the goals of Jakarta Data; the first feature of this specification is the DDD repository pattern. The objective of the repository is to facilitate polyglot persistence without impacting the business.
Starting with dependencies, from now on, we’ll add only the API; then, we’ll start to explain...