J2EE « DAO « JPA Q&A





1. DAO interface in Java EE architetcure    stackoverflow.com

I'm implementing a Java EE project, and in my a part of my class diagram i have a association class which link two classes samples( in french Echantillon) and analysis( in ...

2. Problems with connecting DAO, Business and Web layer in Java EE 6    stackoverflow.com

I am trying to make an application that has the following arcitechture: Web (JSF)
Business (EJB)
Database (JPA) I am using reference implementations on everything. I have made the following setup in Eclipse: EAR with JPA ...

3. DAO Pattern for J2SE and J2EE    forum.hibernate.org

4. Hibernate DAOs Standalone vs. J2EE Environments    forum.hibernate.org

Hello all, So far as I can tell, it appears you need to write two different implementations of a DAO if you intend on using Hibernate. The root of the problem seems to rely on the fact that Hibernate requires "Database transaction demarcation" to work its magic. Link: http://www.hibernate.org/hib_docs/v3/reference/en/html/transactions.html#transactions-demarcation The Hibernate docs state that when implementing a DAO in an unmanaged ...