开发者

Use external jars in EJB (JBoss)

I want to use two external jars from EJB:

  1. jar #1 - all interfaces of the EJB (home, remote etc)
  2. 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
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜