File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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 ?

Paul Sturrock

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

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Ejb & Hibernate
It's not a secret anymore!