Build your professional network on facebook via our app Go to app
 
 
Industry : IT Services
Functional Area : India
Keywords : hibernate
Activity: Question posted: 03 10 2010 16:30:41 +0000, 3 answers, 122 views, last activity 07 06 2010 20:18:08 +0000
 
Share
 
 
 
 

Hello,

Can you define me exactly "why Hibernate is useful instead of EJB "?

 

Thanks,

Namrata

 

 
3 Answers for "Use of Hibernate"
  Answered by     Nishant Patil, Senior Developer, BNP Paribas  | 04 20 2010 06:45:55 +0000
[ Delete ]
[ Edit ]
Not Rated

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.

  Answered by     Namrata , Java/ J2EE Developer, Keane India  | 03 12 2010 07:24:37 +0000
[ Delete ]
[ Edit ]
Not Rated

Thanks Sharda for such a precise and accurate answer. It proved really fruitful for me.

Regards,

Namrata Sinha

  Answered by     sharda , Java developer, Xnet INC  | 03 12 2010 06:09:59 +0000
[ Delete ]
[ Edit ]
Not Rated

1) Support Object-oriented query language(HQL)
2) Object / Relational mappings(Pojo pattern same as EJB)
3) Automatic database key generation
4) Object/Relational mapping definition  
5) HDLCA (Hibernate Dual-Layer Cache Architecture)
6) High performance
7) Database Independence 

 
Rate:
Submit
Jobs at multilocations from Top Product and Service Companies
  • 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
Viewers also viewed
For Industrial Products, usually buyers may be Corporates or SMB or SSI takes decision based on...
 
1 referals 10 arguments, 312 views
India vs USA
 
1411 referals 27 arguments, 336 views
India has realized that just imitating west cannot bring out the real innovations from Indian...
 
1157 referals 52 arguments, 695 views
more...  
Unanswered Questions (123)
Hi All, Our company is 4 year old, we do not have any attendence register, we just see the...
 
0 referals 2 answers, 20 views
  HI all, I am presently conducting an online survey for IT/Software professionals in India as a...
 
0 referals 0 answers, 0 views
HI all,   I am presently conducting an online survey for IT/Software professionals in India as a...
 
0 referals 0 answers, 0 views
More From Author
Thanks Sharda for such a precise and accurate answer. It proved really fruitful for me. Regards, Namrata Sinha
Use of Hibernate
more...