aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Ejb & Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Ejb & Hibernate" Watch "Ejb & Hibernate" New topic
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: 17257
    
    6

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Ejb & Hibernate