[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ecf-dev] Remoting with ECF (with REST) in Eclipse RCP?
- From: slewis@xxxxxxxxxxxxx
- Date: Wed, 11 Apr 2012 10:48:03 -0700 (PDT)
- Delivered-to: email@example.com
- Importance: Normal
- User-agent: SquirrelMail/1.4.13
> I know your DS samples that I have studied to develop the ECF support. The
> 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...
As Wim indicated, discovery is typically used to communicate the base URL
(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)
> 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.
FWIW, Restlet supports JSON as well as JAX-RS.