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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access