Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Is ECF Discovery Service necessary when using RemoteServices

On 01/14/2011 02:38 PM, Bartosz Czerwiński wrote:
> On the consumer side additionally I configure the container:
> IContainer container = containerFactory.createContainer("ecf.generic.client");
> 		container.connect(
> 		IDFactory.getDefault().createID(
> 		container.getConnectNamespace(), "ecftcp://192.168.206.1:10013/server"), null);

Just connecting containers does not end with the remote service being
automatically added to the local service registry.

With this approach you would essentially have to retrieve all remote
services from the remote container and add them manually to the local
service registry. Pretty much what ECF remote services gives you for
free anyway if used with ECF discovery.

Markus


Back to the top