I have some EJBs in an EAR file that I want to use in a separately deployed WAR file. I figured making them use the same unified class loader through jboss-app.xml/jboss-web.xml would solve this problem, but I'm still getting ClassNotFoundExceptions when I attempt to load the appropriate classes from the WAR. When deploying them in the same EAR, everything works fine.
Could someone point out the appropriate way to do this?