Generic Persistence Tier

Learn to design a reusable persistence tier for elegant data access and less code clutter.

Objective

This chapter will focus on designing the data tier by using a single, generic Data Access Object (DAO) for all JPA entities in the system, which will result in elegant data access, with no unnecessary clutter or verbosity.

Problem

In most of the applications developed in the past, the ...