So Why Does the Deployer Care?

CMP is an abstraction of data access code such as JDBC. The JDBC code for CMPs is generated by WebSphere Application Server (WAS) tools. The code is generated based on the mapping between the data access layer and the beans themselves. The mapping is maintained in a file and used as metadata to properly generate code. The abstraction layer presents a challenge for diagnosing errors. This means that there will be two levels of errors, one for the CMP abstract layer and one for the generated data access layer. Many times, developers need both errors to fix problems with mappings or CMP code. Figure 10-26 illustrates how the layering in CMP affects the different roles involved and how they may translate to runtime ...

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.