Understanding Common Client Interface

The term common client interface implies that it is intended for any type of client that needs access to the resource adapter. The section on CCI in the JCA specifications could be clearer and less ambiguous in explaining the actual role of CCI. Some of the unclear and confusing objectives of CCI are as follows.

Implementing a CCI-compatible interface is not mandatory. This will invariably lead to different designs and implementation of access mechanisms to resource adapters. This is not entirely bad because the usage patterns or used cases of resource adapters are too big in number to be constrained by a small set of interfaces or APIs. However, a better solution would have been to design a flexible extendable ...

Get Java™ Connector Architecture: Building Custom Connectors and Adapters 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.