Will EJBs be in the same DeploymentUnit as a WAR? (THey are currently).
The reason I ask is that JAX-RS/RESTEasy integration needs to know:
a) If an EJB using JAX-RS is deployed within a WAR or not
b) Access to JBossWebMetaData if it exists.
The second thing I'm gonna have to figure out is getting the appropriate tests within JBossAS so that when and if you do change the DU behavior, the breaking of RESTEasy integration will be flagged.
The JBossMetaData will always be attached to the war deployment unit.
I've got a prototype component deployer that creates a deployment unit per EJB within the war/jar deployment unit.
How does JAX-RS call upon the EJB? Via the regular JNDI proxy?
JBossWebMetaData is also attached to the war deployment unit.