The intent of this chapter is to explain easy and convenient Java persistence with optimal choices for performance. We will recap the various options and show examples of important use cases. Persistence, in my opinion, is the most important layer in any application.
Starting with ORM frameworks, we have seen a lot of love and hate for ORMs in the past decade, yet they are still heavily used by the community. ORMs provide a lot of choices in the Java ecosystem for database interaction. Let’s start by discussing the first popular choice—Spring Data JPA—and take ...