I have multiple WAR files, which read the same
EJB (contained in a JAR file). These WAR and JAR files are all separately deployed in
JBoss AS 6 (ie. not within the same EAR file).
Is there a way where I can access the EJB via CDI (such as @Inject) from my WAR file?
For example, my EJB:
My consumer in the WAR file:
Anyone know if this is achievable? Or do I have to do it the initialContext.lookup() manner?
Thanks, Ad