ResourceAdapter archives have this structure::
| +- ra.xml
When using ResourceAdapters that are embedded in an EnterpriseArchive I often put the myrarimpl.jar into the EnterpriseArchive as a library so that the resource adapter API is available to the application.
Then the ear will have this structure:
| + myrarimpl.jar