|Re: [ecf-dev] ECE2013 Talk submitted|
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 ...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.
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.
On 7/31/2013 1:29 AM, Wim Jongman wrote:
Markus and YT have submitted a talk for ECE2013.
_______________________________________________ ecf-dev mailing list ecf-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/ecf-dev
ecf-dev mailing list
Back to the top