I have a simple task, but can't make it correct.
I have one java maven project. This project builded in EAR, that consist of JARs and WARs. I have a bean in one of these child jars, which should get Resource from parent EAR from META-INF/myFile.info
.
Unfortunately, i cant find correct way to do this. I'm deploying my EAR to WildFly10.
I am tryed to use ClassLoader, class, ContextClassLoader, tryed to define in pom to add path to ClassPath.
What should i do to have ability get access from child jar java class(ejb) to parent ear sources from META-INF/...