Tuesday 26 May 2015

Java Source World: Difference between Entity Beans and Hibernate



 


Difference between Entity Beans and Hibernate



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) EJB need container like Weblogic, WebSphare but hibernate don't nned. It can be 
    run on tomcat. 

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

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

5) In Hibernate C3P0 can be used as a connection pool.

6) Hibernate is container independent. EJB not.
Difference between Entity Beans and Hibernate | Java Source World




No comments:

Post a Comment