-
1. Re: library ref from .war to .jar inside .ear
jaysensharma Jan 1, 2016 5:57 AM (in response to garyaitken)You should move the "org.abc.DMDSLLocalHome.class" from the "app.ear/app.jar/classes" to "app.ear/app.jar". Usually we do not create a directory "classes" inside a JAR. so better to move all the classes from the "app.ear/app.jar/classes" to the root of that JAR like inside "app.ear/app.jar" and remove the "app.ear/app.jar/classes" directory.
Also the Standard EAR can have a directory "lib" where you can place all your JARs than needs to be shared across multiple sub-modules (like war/ejb-jar ..etc) of that EAR.
Regards
Jay SenSharma
-
2. Re: library ref from .war to .jar inside .ear
garyaitken Jan 3, 2016 12:25 AM (in response to jaysensharma)Thanks, that got me a little further along.
Now I need to deal with the EJB 2 => EJB 3 transition, since Wildfly 9 apparently doesn't support the arbitrary naming and mapping done via jboss.xml and ejb-jar.xml. I've seen references to jboss-ejb3.xml, but no real explanation of it and how it may relate to jboss.xml and ejb-jar.xml.
-
3. Re: library ref from .war to .jar inside .ear
jaysensharma Jan 3, 2016 12:32 AM (in response to garyaitken)Good to know that your primary issue is resolved.
EJB2 => EJB3 migration and mapping between jboss.xml and ejb-jar.xml and jboss-ejb3.xml i will suggest you to post if you have any specific query/error/exception in that regard else going through the doc will help much.
jboss-ejb3.xml Reference - WildFly 10 - Project Documentation Editor
Regards
Jay SenSharma