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 NoClassFoundException
you need to include them in a lib directory under the ear: