-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Design aproach EJB3 outside j2ee container
PostPosted: Sun Sep 04, 2005 11:11 am 
Newbie

Joined: Fri Sep 02, 2005 2:55 pm
Posts: 3
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 5:05 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
1:1 compareed to what an entity.
This is a matter of taste, do what you want. Some prefer a DAO per model area, others per entity etc etc

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.