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, 172 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
Leading IT/Telecom Recruitment firm
  • 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
Every now and then prominent people from west complain that their jobs are getting Bangalored,...
 
1188 referals 7 votes, 315 views
The Indian products and manufacturing techniques are never upto the global standards. Why are we...
 
1217 referals 92 arguments, 4153 views
Customer service is an integral part of our job and should not be seen as an extension of it. A...
 
713 referals 14 votes, 510 views
more...  
Unanswered Questions (24)
reference handle only
 
0 referals 0 answers, 0 views
Hi,  I need some information ..  How can you understand and control costs? and  Is there an...
 
1 referals 1 answers, 31 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...