Martin Wortner [
https://community.jboss.org/people/wortner] created the discussion
"Adding separately deployed .jar files to other .ear's classpath..."
To view the discussion, visit:
https://community.jboss.org/message/777477#777477
--------------------------------------------------------------
Hi,
I have an ear, and inside of this ear I need to have on the classpath some jar's
classes to be able to load them via Java ServiceLoader.
I'd like to use the jBoss AS maven plugin for deploying or just directly copy the .ear
and jars into deployments folder of jBoss 7 server.
Is it possible that the ear will somehow see(be able to load them via
ServiceLoader.load(class) call) the jar files??? So the jar files should act like
"shared" library.
And if it is possible, what exactly happens when I will un(re)deploy these .jars?
Thanks for answer in beforehand.
regards
Martin
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/777477#777477]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]