Understanding CMP 2.0

Persistence is a term used to define how applications read and write data from a data store such as a database. JDBC coding is an example of persistence. A developer uses JDBC to create, update, read, and delete data from a relational database. CMP is an abstraction layer for managing persistence in J2EE applications. Developers code to an object-oriented programming model and then map these objects to an underlying persistence store, such as a relational database, using mapping tools. The mapping is then used to generate code that the container uses to persist the data (for example, SQL statements to save the bean properties to a database). CMP is not the only choice for persistence inside J2EE applications, but using CMP ...

Get IBM WebSphere: Deployment and Advanced Configuration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.