IBM WebSphere: Deployment and Advanced Configuration
by Bill Hines, Tom Alcott, Keys Botzum, Roland Barcia
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access