18.5. Common client interface (CCI)

This section describes the common client interface (CCI), support for which is optional in a resource adapter.

18.5.1. CCI rationale

If you followed the description of the resource adapter for the stock quote server, you will remember that the two interfaces presented to the client (QuoteConnection Factory and QuoteConnection) were not controlled by the Specification, and therefore neither were the classes that implemented them. To be sure, there were some restrictions on these interfaces. We had to provide a close() method, for example, on the connection interface, and a getConnection() on the connection factory; in addition, the connection factory had to be compatible with storing in a JNDI namespace. Apart ...

Get Applied Enterprise JavaBeans™ Technology 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.