• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between hibernate and entity bean

 
prem ram
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone tell me difference between hibernate and entity bean.

Regards
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, an Entity Bean is an EJB, and needs to run in an EJB container. Hibernate on the other hand does not need an EJB container in which to run.

-Cameron McKenzie
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prem,
Welcome to JavaRanch!

Hibernate is an ORM (object relational mapping) library. It also provides an implementation of JPA. Entity beans are a type of EJB that were replaced by JPA in JEE 5.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic