Access Layer Source Code

The access layer classes include interfaces for three APIs (ClientAPI, ConfigAPI, and AdminAPI) and their respective implementations. The ClientAPI is used by adapter clients (standalone Java applications or JCA clients). The ConfigAPI and AdminAPI are for administration and deployment tools.

Listings 17.1 and 17.2 are the interface and implementation of the highest-level API (ClientAPI). Listings 17.3 and 17.4 contain the interface and implementation of a simple configuration API. In actual production environment this API can retrieve data from property files, system environment, or other configuration repositories. Listings 17.5 and 17.6 contain the interface and implementation of a simple administration API. Production ...

Get Java™ Connector Architecture: Building Custom Connectors and Adapters now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.