How is a resource adapter packaged?
A resource adapter is packaged into a Resource Adapter Archive (RAR) file using the Java Archive (JAR) format. A resource adapter archive file is identified by the file extension .rar. A resource adapter RAR file must contain a correctly formatted deployment descriptor (/META-INF/ra.xml). The deployment descriptor is an XML file containing deployment-specific information about the resource adapter (declarative information about the contract between the resource adapter provider and the deployer). The implementation – the Java classes and interfaces – of a resource adapter is typically packaged in one or more JAR files, and these JAR files are in the resource adapter module. It is also possible that the resource adapter module may contain platform-specific native libraries.