I am bundling a resource adapter with an EJB module in the same EAR file. I want to refer to the resource adapter from my MDB, using:
@ResourceAdapter("x.ear#y-ra.rar")
class MyDB
...
This works fine, as long as the ear and rar filename does not change. I would like to make it independent of the filenames, is there a way to achieve this?
No, these are deployment level identifiers and as such they have to point to the actual deployment modules (ie the filenames).