background image

Resource Adapter Contracts

<< Connector Architecture | Management Contracts >>
<< Connector Architecture | Management Contracts >>

Resource Adapter Contracts

Stored in a Resource Adapter Archive (RAR) file, a resource adapter can be deployed on any
Java EE server, much like the EAR file of a Java EE application. An RAR file may be contained in
an EAR file, or it may exist as a separate file. See
Figure 35­2
for the structure of a resource
adapter module.
Java EE Server
EIS
Enterprise
Bean
Managers:
Transaction
Connection
Security
Web
Component
Resource
Adapter
Application
Contract
Application
Contract
System
Contracts
FIGURE 35­1
Resource Adapter Contracts
ra.xml
sun-ra.xml
Native libraries
(.dll or .so files)
All .class/.jar
files for this
connector
module
Assembly
Root
META-INF
FIGURE 35­2
Resource Adapter Module Structure
About Resource Adapters
The Java EE 5 Tutorial · September 2007
1020