|
|
Activity:
Question posted: 03 10 2010 16:30:41 +0000,
3 answers, 172 views, last activity
07 06 2010 20:18:08 +0000
|
|
Hello,
Can you define me exactly "why Hibernate is useful instead of EJB "?
Thanks,
Namrata
I totally agree with Sharda. Apart from this there is actually no comparision between EJB and Hibernate.
Yes in newer EJB3.0 the support of JPA has been standardised. The JPA is very similar to Hibernate. Java community took help from Hibernate people to develop standards for JPA.
The main difference is again in JPA is like Interface, which only define a contract. It is the duty of the provider to give the implementation of JPA. Like JBoss web container provides full support for EJB.
On the other hand, Hibernate has all the feature implemented within. You don't need any provided to run hibernate application.
The advantage of going along with JPA is that the main web servers provides the implementations and is considered as a standard in the Industry.
It is now well understood in Industry that, EJB, Spring, JPA and Hibernate can be used in a single project without having any problems.

- Create a confidential Career Profile and Resume/C.V. online
- Get advice for planning their career and for marketing of experience and skills
- Maximize awareness of and access to the best career opportunities
|
|
|
|
|
|
|
|
|
|
Thanks Sharda for such a precise and accurate answer. It proved really fruitful for me. Regards, Namrata Sinha |
Use of Hibernate |