I finally find out a solution for my problem:

I did the following:

EAR contains 
 A.jar // jar containing beans, 
 lib/A-client.jar // jar containing interfaces only
 META-INF/application.xml
     // containing references to A.jar as ejb module, lib/A-client.jar as java module

The deployment description of A.jar (ejb-jar.xml) must contain a tag <ejb-client-jar> 
referencing the client jar and this jar must be specified in the Class-Path entry of 
the MANIFEST.MF.

The client jar might be used in other ear files by doing the same trick.

The ear file is redeployable.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834069#3834069

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834069


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to