开发者

Use external jars in EJB (JBoss)

开发者 https://www.devze.com 2023-01-03 04:55 出处:网络
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

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

精彩评论

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