GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  J2EE  >  Hibernate
Go To First  |  Previous Question  |  Next Question 
 Hibernate  |  Question 26 of 33    Print  
Why Hibernate is advantageous over Entity Beans & JDBC?

  
Total Answers and Comments: 3 Last Update: August 13, 2009     Asked by: gopikrishna 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: vijakris
 

In my opinion in case of Entity Beans our bean only work under contanier. means you cant reuse those object outside container. There is no concept of Detached Objects. But in case of hibernate we have detached object concepts.



Above answer was rated as good by the following members:
SitaPutta
October 06, 2008 03:08:54   #1  
vijakris Member Since: October 2008   Contribution: 1    

RE: Why Hibernate is advantageous over Entity Beans & JDBC?

In my opinion in case of Entity Beans our bean only work under contanier. means you cant reuse those object outside container. There is no concept of Detached Objects. But in case of hibernate we have detached object concepts.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
August 09, 2009 18:56:19   #2  
Nirwana360 Member Since: August 2009   Contribution: 1    

RE: Why Hibernate is advantageous over Entity Beans & JDBC?

EJB3 and Hibernate both support JPA. Advantage of Hibernate over EJB3 Entity
are as follows;


EJB3 Entity needs a container to run where as Hibernator does not need one.

Hibernate support Java annotations as well as Hibernate annotation which has
more fractures where as EJB3 entity does not support Hibernate annotations




 
Is this answer useful? Yes | No
August 13, 2009 04:13:38   #3  
kamalraja Member Since: August 2009   Contribution: 1    

RE: Why Hibernate is advantageous over Entity Beans & JDBC?
Hibernate does not require a Application Server to be deployed. Easy plugin into any available project or module when compared to EJB

Hibenate involves less coding and easy to manage code when compared to JDBC.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape