| Author |
Hibernate in EJB2 and EJB3
|
Nagamalini Pampati
Greenhorn
Joined: Oct 04, 2006
Posts: 20
|
|
Hi, I read that "Hibernate is used for persistence in EJB2 and in EJB3 we have JavaPersistence API for persistence" .. that means we cant use hibernate in ejb3... Is this true?Please help me out in this. Thanks, Malini
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
You can use Hibernate with EJB3 if you like. There is no technical restriction. (Its always useful to quote your sources when asking for an explanation. Taken out of context its hard to explain what the writer was aiming for. )
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8795
|
|
|
Hibernate actually implements from JPA. So when you work on Hibernate it means that you are already into JPA.
|
SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
|
 |
 |
|
|
subject: Hibernate in EJB2 and EJB3
|
|
|