Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Fun with remote services part 1

Hi Eugen,

There are ds-based host and consumer examples...in bundles

org.eclipse.ecf.examples.remoteservices.hello.ds.host
org.eclipse.ecf.examples.remoteservices.hello.ds.consumer

There are product configurations in these two bundles for the zeroconf (discovery), and ECF generic (distribution) providers. It is a simple matter to create product configurations that use (e.g.) zookeeper for discovery (rather than zeroconf), and other providers for distribution (e.g. r-osgi, etc)...and I would encourage others to make contributions to add to these examples. Either that, or sponsor ECF committers to make such additions.

Note that although Bryan's blog posting from 6/2009 was excellent, I don't think it is quite up-to-date...as much has changed since his blog post...in the OSGi 4.2 standard (now remote services rather than rfc119...a very different specification...in everything from service property names to specified behavior of implementations), as well as a completely different implementation of the remote services standard from ECF. For example, it's no longer necessary to create instances of ECF containers explicitly (rather they can be constructed implicitly upon remote service registration and/or discovery). In addition, I will do some blogging about DS and ECF remote services hello example in the near future. The short story is this though: use of DS for remote services is now essentially the same as using DS for other OSGi services...except that remote services are generally more dynamic (because of network discovery like zeroconf, zookeeper, etc), and they generally are not singletons (i.e. cardinality is typically 0..n...since there can typically be more than one remote host for a given service). BTW, WRT XMPP...there was a bug reported just last week having to do with the way that ECF was handling the gmail client resource identifier in the XMPP provider:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=316071

There is a patch by me on that bug that most likely fixes the issue, but it has not yet been verified...and given that we are approaching Helios release and under a change freeze imposed by the Helios release process, this fix will *not* be in the Helios release (but of course, will be in all future ECF releases as soon as the fix is verified and released to HEAD).

Scott


Eugen Reiswich wrote:
Hi Wim,

I checked out your example but was not able to find any service components within the bundles. I've imported the .psf files but the projects don't have DS. I've also checked out some other postings on ECF with DS (http://bryanhunt.wordpress.com/2009/06/20/remote-declarative-osgi-services/) but this example only works if client and server run on the same local subnet. There are some more blogs about ECF and remote services e.g. http://wiki.eclipse.org/Getting_Started_with_ECF's_OSGi_Remote_Services_Implementation <http://wiki.eclipse.org/Getting_Started_with_ECF%27s_OSGi_Remote_Services_Implementation> but none of them describes how to create and use remote services with DS.

Hence it is still not clear for me how to use ECF remote services with DS. In my special case I try to use ECF remote services with XMPP.
Regards,
Eugen
Am Jun 11, 2010 um 13:12  schrieb Wim Jongman:

Eugen,

Check out our latest article. It is all DS! I will blog about the server/host part this weekend. Be sure to check out the client and give it a spin:

*http://tiny.cc/remotefun*

Regards,

Wim

On Fri, Jun 11, 2010 at 9:30 AM, Eugen Reiswich <ereiswich@xxxxxxxxxxxxxx <mailto:ereiswich@xxxxxxxxxxxxxx>> wrote:
> Hi Scott,
>
> I would like to hear about (remote) declarative services (DS) with ECF.
>
> Regards,
> Eugen
>
> Am Jun 11, 2010 um 5:14  schrieb Scott Lewis:
>
>> Really nice article Wim.  Congrats...and many thanks!
>>
>> I'll try to add next week to the do-it-yourself-marketing-of-ECF remote services. Any suggestions from people about about a specific topic that people might like to hear some about?
>>
>> Scott
>>
>>
>> Wim Jongman wrote:
>>> Hi,
>>>
>>> I have blogged about ecf and zoodiscovery:http://tiny.cc/remotefun
>>>
>>> Regards,
>>>
>>> Wim
>>> _______________________________________________
>>> ecf-dev mailing list
>>> ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>
>>> https://dev.eclipse.org/mailman/listinfo/ecf-dev
>>>
>>
>> _______________________________________________
>> ecf-dev mailing list
>> ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>
>> https://dev.eclipse.org/mailman/listinfo/ecf-dev
>
> _______________________________________________
> ecf-dev mailing list
> ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>
> https://dev.eclipse.org/mailman/listinfo/ecf-dev
>

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

------------------------------------------------------------------------

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



Back to the top