Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 17249
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ejb & Hibernate
 
Similar Threads
hibernate with Container Managed Transactions (CMT)
middlegen - no ejb?
Industry use of EJB's
can i dynamically create a table from the front end
who's waiting for ejb 3?