Hi, i am developing a very small web page that is going to run on tomcat. This application is for a University job, and the model itself is very small but i have to use Hibernate and Wicket.
My question is:
Is the DAO 1:1 aproach still valid for ejb3 (annotations, entity manager)?
Is a better way of design the persistence module of the app?
I only have 2 or 3 class to persist, no too complex but i like to use some good design. So far i have a 1 to 1 DAO design combined with jdk 1.5 template class and Ejb3-hibernate.
Thanks for your hlep.
|