-->
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.  [ 4 posts ] 
Author Message
 Post subject: Hibernate persistence with EJB
PostPosted: Thu Mar 31, 2005 7:32 am 
Beginner
Beginner

Joined: Fri Feb 27, 2004 11:47 am
Posts: 24
I was working on web project where I had the persistence layer in the web container itself and hibernate was used to persist data, there is a new requirement of introducing Session bean >> DAO >> Hibernate for persistence, do I have to move all my java beans and mapping files .hbm.xml to EJB container.
_________________
Web Developer

_________________
Web Developer


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 31, 2005 9:26 am 
Senior
Senior

Joined: Fri May 14, 2004 9:37 am
Posts: 122
Location: Cologne, Germany
don't know if this is best practice but I have the DAO, POJOs and Mappings inside a MBean service and access the DAO objects with my Sessionbeans.
For MBean service take a look at using Hibernate with JBoss

_________________
regards

Olaf

vote if it helped


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 31, 2005 2:02 pm 
Beginner
Beginner

Joined: Fri Feb 27, 2004 11:47 am
Posts: 24
I am using this approach in IBM websphere, I don't know whether there is any MBean concept in there.

_________________
Web Developer


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 31, 2005 2:02 pm 
Beginner
Beginner

Joined: Fri Feb 27, 2004 11:47 am
Posts: 24
I am using this approach in IBM websphere, I don't know whether there is any MBean concept in there.

_________________
Web Developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.