Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ejb & Hibernate

 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Is it possible to connect ejb with hibernate ? how it is possible ?

Thanks,
vishnu.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic