EJB : Container Managed Persistence [ CMP ]
What is Container Managed Persistence? |
Entity Bean has the following behaviour
- They are a representation of persistent data
- They can survive a crash
- Multiple clients can be using EJBs that represent the same data
- The EJB instance contains a copy of the data in the persistent store
- has a Primary key like in a Database record.
Example for CMP |
Click here to Download the code
CMP Deployment follow as below
Run Client Application
Recent Comments