[jboss-dev-forums] [JBoss AS 7 Development] - Adding separately deployed .jar files to other .ear's classpath...
Martin Wortner
do-not-reply at jboss.com
Tue Nov 20 10:34:34 EST 2012
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&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121120/a6611f95/attachment.html
More information about the jboss-dev-forums
mailing list