[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] A general question around REST

Hi Ali,

I've not looked into how the ECF REST support works, but I can offer you an interesting solution based on Restlet here: 

http://code.google.com/a/eclipselabs.org/p/restlet-integration-with-equinox/

This solution allows you to have your REST services all coded in OSGi (even supports hot-plug) and any generic HTTP client.  I'm sure Scott will give you a good answer on the ECF end.

Bryan

On Mar 9, 2011, at 1:28 PM, Ali Naddaf wrote:

> Hello everyone.
> 
> I understand that ECF has a REST provider support. My question is whether the following use case is covered by ECF, in general, or I need to look for a different solution: I have a an (Equinox based) OSGi environment and I would like to for my services (provided by bundles that I have in my environment) be also exposed externally as REST web services. So far, I was using something similar to what Peter had written (webrpc) that would expose public services with almost no extra work as some sort of rpc calls over http. Anyhow, for a general consumption of my OSGi services as REST web services by any external client (i.e. not just another OSGi environment), is the ECF still a correct solution?
> 
> 
> Many thanks,
> Ali.
> _______________________________________________
> ecf-dev mailing list
> ecf-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ecf-dev