Common Client Interface

This section describes how components use the Connector architecture Common Client Interface (CCI) API and a resource adapter to access data from an EIS.

Overview of the CCI

Defined by the J2EE Connector Architecture specification, the CCI defines a set of interfaces and classes whose methods allow a client to perform typical data access operations. Our example CoffeeEJB session bean includes methods that illustrate how to use the CCI, in particular, the following CCI interfaces and classes:

  • ConnectionFactory: Provides an application component with a Connection instance to an EIS.

  • Connection: Represents the connection to the underlying EIS.

  • ConnectionSpec: Provides a means for an application component to pass connection-request-specific ...

Get J2EE™ Tutorial, The 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.