Sharing Our Passion For Technology
& continuous learning
〈  Back to Blog

Regarding JPA - is the EntityManager a DAO...

By John Chrystal | September 15, 2009 | Development

Do we really need ServiceInterface, ServiceImpl, DaoInterface, and DaoImpl? Or can we just say the EntityManager is the DAO, and blow away a generally unnecessary layer? On CRUD apps, 9x out of 10, the service layer is merely a pass-through to the DAO. Is there time to be saved here?

〈  Back to Blog