Entity beans represent persistent data. Each instance of an entity bean represents a database table row.
When to Develop Entity Beans
You can develop entity beans, if:
- Your application requires interactions with persistent data, represented in a relational database - storing, removing and changing the data in the database
- You want to develop fine-grained persistent objects
- The design of your application requires shared access to the persistent data
- You want to develop a persistent component
- You want to represent database relationships on object level