I have a doubt about manifests and class loading.
I am using jboss 3.2.7, and everytime I change a POJO jar, inside my ear directory (My ear is expanded), from a-1.jar to a-2-RC1.jar, I need to generate a ejb/war that loads this artefact, or i will get a
ClassDefNotFoundException, or rename a-2-RC1.jar to a-1.jar, which is ugly. :-(
Is there a bettter way to not generate the ejb/war?
I tried to generate a dummy-ejb.jar file every time I change a jar in the EAR directory. This dummy ejb has no classes inside, only the ejb descriptors and a manifest that includes all POJOS jars in his manifest.
I am using a plain class loader policy, so the solution above should work. but it isn't.
When you change your POJO jar inside the ear, you will have to redeploy your application. As you mention that your ear is in exploded form, have a look at: