Hi All,
I would like to know whether xyzEar and abcEar resides in same JVM or different JVM. (assume both the ear files deployed in the same application server.)
They will reside in the same JVM.
Note that the specs say:
Use of a session bean's local client view entails the collocation of the local client and the session. The local client of an enterprise bean must be collocated in the same container as the bean. The local client view is not location-independent
This leaves open the possibility of a Local view between Ear's, but a little bit further on:
Access to an enterprise bean through the local client view is only required to be supported for local clients packaged within the same application as the enterprise bean that provides the local client view. Compliant implementations of this specification may optionally support access to the local client view of an enterprise bean from a local client packaged in a different application. The configuration requirements for inter-application access to the local client view are vendor-specific and are outside the scope of this specification. Applications relying on inter-application access to the local client view are non-portable.
In other words: a local view between ears is possible but not required to be supported.
Regards,
Frits