Maris Orbidans wrote:
From the JavaEE spec view I think that this is how each app server should work.
It is not specified in
J2EE. I am not sure about JEE.
Maris Orbidans wrote:But if you have identical classes (with the same name) in both EARs then you shouldn't have any problems even if you got common classloader for all EARs.
I think that should lead to a class loader exception, or what do you mean by common class loader?
If you have one classloader for all EAR files then you will get class version whichever happens to be first on classpath. If not it should not cause classloader exceptions either.
Why dont you try and tell us how it works.