ejb@glassfish.java.net

Re: EJB deployment question

From: Xavier Callejas <xavier_at_wflogistics.com>
Date: Thu, 25 Mar 2010 09:31:24 -0600

On Jueves 25 Marzo 2010 07:30:53 Kenneth Saks escribió:
> It's used when you want that option, but the client can be in the same
> application or in a different application. This flexibility, or location
> transparency, is the main advantage of the Remote view.

The difference is the performance between them, @Local is for memory
reference, @Remote is serialized.

I use @Local where I can to increase performance (theoretically).

rgds.
xavier