|
| hello All
as the info center says....
In order for a module or a bean to reference the local interface of an enterprise bean, the referenced bean must be included in the same enterprise application (EAR) as the module or bean that is referencing it
I got into the same problem and try different things because I though it was the approach (use local interface whit in the same jvm) but the spec only requires it for the same EAR, I think it should be supported some how for anything running in the same J
VM
As Rschnier said the applications are in different classloaders so the objects are different in runtime
Robert I try what you say but it does not find the class in the parent classloader (java.lang.NoClassDefFoundError) I guess that the class is only in the ear owner classloader but in the parent classloader.
JDP
|
|