This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Integration of session bean with hibernate POJO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Integration of session bean with hibernate POJO" Watch "Integration of session bean with hibernate POJO" New topic
Author

Integration of session bean with hibernate POJO

Anil Prasad
Greenhorn

Joined: Feb 22, 2006
Posts: 14
Hi All,
I want to integrate my session bean with hibernate.
Please help me.Sample code will be appriciable.
Thanks in advance.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

The most common way is to integrate your EJB layer with your Hibernate layer via the DAO pattern.
[ September 12, 2007: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Great question and great answer


SCJP, SCJD, SCWCD, SCBCD
 
Consider Paul's rocket mass heater.
 
subject: Integration of session bean with hibernate POJO
 
Similar Threads
Hibernate and stateless session beans
j2ee Problem
how to "reattach" a serialized entity to a hibernate sesison?
Difference between EJB2 and EJB3?
How To know data saved or updated in hibernate session