Q.) When do we use entity beans in a project and when do we use the different types of entity beans?
Printable View
Q.) When do we use entity beans in a project and when do we use the different types of entity beans?
Hello,
We used to use entity bean in a project for managing transactions with the databasei.e when I want to use database in my project I will use entity bean this means I am making y data persistence by writing it to database.
I will use Container Managed Persistence bean when, I want everything()i.e transaction management,connectivity,saving and loading of data by the container.
And will use Bean MP when I want to give implementation for the same.this is necessary because complex operations cannot be done by the container.
if you are having problems revert back
Uday Thakare