This content has been marked as final.
Show 1 reply
-
1. Re: dependancy of modules and hot (re)deployment
fburlet May 7, 2004 6:43 AM (in response to fburlet)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.