Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] ECE2013 Talk submitted

Hi Wim,

Looks good.

One typo:  I believe this:  Sometimes you wish that remote services where simple.   should be Sometimes you wish that remote services were simple.

Also for your and others information:  I've amended the timeservice remote services example by introducing a new provider, based upon a simple rest/http post call...to implement the getCurrentTime remote method invocation.   On the host/server side, I'm using the servlet additions I've recently made via [1]...i.e. a simple servlet is used to handle the doPost...and actually make the call to the host ITimeService.getCurrentTime(), and serialize and return the Long result.  On the consumer/client side, I use the ECF REST API and simply define a custom response serializer to handle deserializing the Long value returned by the host/server. 

In any event, the result of this is that this shows how to create and use a very simple rest-based distribution provider that fully implements the OSGi remote service spec.  Not sure if this will be useful for your and Markus' talk or not, but some might find it useful.

Scott

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=414086

See here for new provider plugins:   http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/tree/examples/bundles
they have the name com.mycorp.timeservice.provider.rest.common, .host, and .consumer.

Scott


On 7/31/2013 1:29 AM, Wim Jongman wrote:
Hi,

Markus and YT have submitted a talk for ECE2013.

Regards,

Wim

http://www.eclipsecon.org/europe2013/discover-remote-osgi-services


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


Back to the top