What is Entity Bean?The entity bean is used to represent data in the database. Entity beans provide a component model that allows developers to focus on business logic of the bean and other activities like managing persistence,transactions, and access control are taken care by the container.
There are two kinds of entity beans.
- Container-managed persistence
- Bean-managed persistence