Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use Hibernate with EJB3?

I can't find any example so I'm starting to doubt whether it is possible or not... But I was asked to build a webapp with both of them...

like image 962
diminuta Avatar asked May 18 '13 18:05

diminuta


2 Answers

Yes. Its possible.. Please check the below link http://www.techbits.de/2006/04/17/ejb3-persistence-with-hibernate

like image 61
Ramaraj Karuppusamy Avatar answered Nov 05 '22 21:11

Ramaraj Karuppusamy


In short - yes, it's possible.

You can configure hibernate as a entity manager for EJB 3.0.

The configuration takes place in persistence.xml file. Here is a link to documentation

like image 25
WeMakeSoftware Avatar answered Nov 05 '22 21:11

WeMakeSoftware