Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] ServiceTracker for remote services

Hi Scott,


Ok. You might also look at the RFC119 support we are introducing with ECF 3.0...as it allows using ServiceTrackers for transparent remote services. There are some tests that show this in org.eclipse.ecf.tests.osgi.services.distribution.

we will switch to ECF 3.0 soon but it's not possible for now as ECF 3.0 requires Eclipse 3.5. I just had a look at a ServiceDescovery example on http://wiki.eclipse.org/Discovery_of_Remote_Services

There is a lot of stuff to do before one can use the ServiceDiscovery. I need to create IServiceTypeID, Properties, URI, ServiceInfo etc and I need some time to understand how they work together. Is this a simple example or do I really have to create all this things? I also thought about using the ECF Presence API to get the remote user's IP and then switch to Riena for remote services. But I actually don't like the idea of mixing different remote technologies in one project.

So my basic problem which I was not able to solve with ECF yet is: how can I handle the dynamic of remote services in e.g. a chat application where users appear and disappear very often. How can I make sure that remote services are provided properly to all users independently at what time a user appears? In an OSGi environtment I would use a ServiceTracker to handle all dynamic, but in ECF I still don't really know how to solve this problem.

Regards,
Eugen

Am May 13, 2009 um 3:01  schrieb Scott Lewis:

Hi Eugen,

Eugen Reiswich wrote:
Hi Scott,

thanks for your reply. I guess I will check out the RemoteServiceTracker and look whether he does what we need.

Ok. You might also look at the RFC119 support we are introducing with ECF 3.0...as it allows using ServiceTrackers for transparent remote services. There are some tests that show this in org.eclipse.ecf.tests.osgi.services.distribution.

Since RFC 119 implementation is finished now, I and others will be working primarily on getting started, examples, more tests, and more detailed docs for the upcoming 3.0 release.

Also...FYI:  https://bugs.eclipse.org/bugs/show_bug.cgi?id=274839

Scott

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev



Back to the top