1. Not every app server provided that optimization. 2. Even if they optimized they had to emulate pass by value arguments. 3. It's bassackwards to code for the 10% of EJBs actually used remotely and hope an app server optimizes the remoteness out of the other 90%.
> -----Original Message----- > From: Greg Matthews [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 5:07 PM > To: Orion-Interest > Subject: Re: Local interfaces difference ??? > > > > ....and can anyone shed some light on why this has even been > put in the J2EE spec. > > Visibroker for Java automatically detected if the client was > local and then handed out a client stub that did not do > marshalling, i.e. performed an in-process local java method call. > > I would have thought that the whole concept of Local > references was just an optimisation that a vendor provided > based on common sense. > > Why is it in the spec?