|Re: [ecf-dev] Remoting with ECF (with REST) in Eclipse RCP?|
> I know your DS samples that I have studied to develop the ECF support. TheAs Wim indicated, discovery is typically used to communicate the base URL
> thing I don't understand is that in your samples you don't set the base
> of the server in the client side?
> I would like customize that in my client side because server can be
> installed on localhost, on cloudbee with different port etc...
(known as endpoint in OSGi spec), from the registered host service and
consumers. This discovery can be via some network protocol (zookeeper,
zeroconf, dnssd, slp), or it can be via the 'file-based discovery' that is
part of the OSGi specification. This is known as the endpoint description
extender format (edef)
FWIW, Restlet supports JSON as well as JAX-RS.
> I will study RESTLET too to see how I can use it with ECF as soon as I
> finish my articles with CXF DOSGi.
> My need is that I wand export/import services with remote mode with the
> less code. My goal is to do the same thing than Spring Http Invoker
> but with JAX-RS to consumes/publish JSON.