I a Jboss Wildfly 8.2 instance I have a webapp ROOT.war
and another OTHER.war
and I need that the class OtherXYZ.class
that is inside OTHER.war
be able to access RootXYZ.class
. I've read somewhere that this might be possible using EAR but I don't know how.
Here there is the schema I need to implement
ClassesVisibleToAllWars.jar
/ | \
(access)/ |(access) \(access)
/ | \
Root.war Other1.war Other2.war
/ | |
R.class O1.class O2.class
- I CANNOT create/use a Global Module to put inside
wildfly/modules
directory. I'll only have access tostandalone/deployments/*
directory - all classes from
ClassesVisibleToAllWars.jar
must be visible toR.class
,O1.class
andO2.class
, for example - new other
.war
files might eventually be deployed and this behavior must persist
Question
Wheare should I put ClassesVisibleToAllWars.jar
in order to achieve that schema?