Originally posted by Damodar Mukherjee:
Can You please explain how Hibernate fits with EJB3?
To be very clear Hibernate is
not part of the EJB3 spec. Hibernate is an ORM tool and is an implementation of the JPA specification. The JPA spec is part of EJB3.
Originally posted by Damodar Mukherjee:
Why people use Hibernate in EJB3 projects as EJB3 has a rich Entity Bean?
In EJB3, the entity beans are refered to as just Entities (since they are just Plain Old
Java Objects). The persistence capabilities for Entities are provided by persistence providers (Ex: Hibernate, TopLink etc...) which follow the JPA spec.