Is it possibile to scan some directories to find all jars and add them as dependencies in ears at runtime?
I'm using
wildfly 8.1.0 final.
For example we have two separated ear:
ear1
ear2
And an external jar with some
jsf managed beans, facelets, and static content (images, css, js):
jar1
Does exist any way to make all resources in jar1 to be accessible from ear1 and ear2 without put jar1 as module in ear1 or ear2?
I don't know any other way than add jar1 as dependency in ear1 and ear2 and redeploy ear1 and ear2.