I have an EJB3 ear file that is dependent on classes in a third-party jar. How should I deploy the third-party jar? Should it be packaged up in the EJB3 ear? Should it be deployed separately?
I tried just dropping it into the EJB3 ear but that didn't work :-(.
I really must resist the temptation to press the 'submit' button. As seems to be the case with me lately, the light-bulb went on just after I posted. So I'll answer my own question just in case anyone else is as dumb as me and searches for this:
Add the JAR to the EAR and then add a java module entry to application.xml for it.
This EJB3 thing is just too easy.