Author
Ejb & Hibernate
Reshma Reddy
Ranch Hand
Joined: Dec 21, 2006
Posts: 197
Hi all, Is it possible to connect ejb with hibernate ? how it is possible ? Thanks, vishnu.
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
Yes. You can just use Hibernate in an EJB based application in just the same way as you would use it in a normal application.
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Mark Spritzler
ranger
Sheriff
Joined: Feb 05, 2001
Posts: 17225
posted Mar 01, 2007 10:27:00
0
Yes, Hibernate objects are just plain POJOs, so EJB can call other EJBs , or any other POJO like regular Java Classes. And in EJB3. Hibernate 3 is an implementation of JPA. Mark
Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
subject: Ejb & Hibernate