Re: If a remote session bean calls other Enitybeans that have local interfaces. will it use the local interface?
Sunday, June 23, 2002 02:47 AM
The SessionBean doesn't use the LocalInterfaces automatically, you have to lookup the EntityBeans in the SessionBean with the JNDI-Name of the LocalInterfaces (In JBoss 3.0 all LocalInterfaces are bound under local/BeanName) ... But it's faster to call one operation on the SessionBean which results in a sum of local calls on Entity Beans than many remote calls to the Entity Beans. Because if you use LocalInterfaces you have not the Serializiationoverhead.