Use external jars in EJB (JBoss)
I want to use two external jars from EJB:
- jar #1 - all interfaces of the EJB (home, remote etc)
- jar #2 - some types which I use inside my EJB
What should I do to achieve this? If I put this jars inside ear it doesn't work, and JBoss throws NoClassFoun开发者_StackOverflow中文版dException
you need to include them in a lib directory under the ear:
yourapp.ear
->lib
->jar1.jar
->jar2.jar
精彩评论