This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Integration of session bean with hibernate POJO