getLocalService will get the service in the same JVM. getService will get the 
service, possibly remotely. Typically, when you write a new service you will 
provide a remote interface so the service is available from outside. The 
implementation of this (in *-facade) will itself call the local service using 
getLocalService.

When you call a service you should always use getService() and not 
getLocalService() unless you are writing the facade for the service to be 
accessible remotely.
--
Posted by "arussel" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2900#8477>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to