What is the main difference between Entity Beans and Hibernate ?

Showing Answers 1 - 7 of 7 Answers

Ranveer Kumar

  • Sep 11th, 2007
 

1)  In Entity Bean at a time we can interact with only one data Base. Where as in Hibernate we can able to establishes the connections to more than One Data Base. Only thing we need to write one more configuration file.  

2) Entity Beans does not support OOPS concepts where as Hibernate does.

3) Hibernate supports multi level cacheing, where as Entity Beans doesn't.

It is not right answer as given by ranveer.

Entity beans now become JPA so it has all the feature which hibernate has.
All the application server has to provide implementation of jpa using presistent provider  like hibernate ,toplink.

Entity beans are heavy objects and carefully needs to be choose. on other hand hibernate can be good choice for small to mid size projects.

Entity beans come with container advatanges and this feature make it slow too.
Hibernate, we need to manage the transaction,security,etc.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions