Skip to main content
Jump to: navigation, search

ECF/REST abstraction

Revision as of 14:34, 14 March 2011 by (Talk | contribs) (Test/Example code)

OSGi Remote Services to expose REST Clients

ECF's focus has been the support of OSGi remote services...i.e. exposing OSGi services remotely, via proxies that have underneath them some protocol for communicating with the actual remote service.

REST-based services use http to access remote resources via http get, put, post, and delete actions.

The ECF REST abstraction allows REST-based services to be exposed to clients/consumers as OSGi services. This allows the automatic use of a number of useful technologies based upon OSGi services (e.g. declarative services, spring, ServiceTracker, etc) for accessing REST-based services.


Test/Example code

See the test cases in Particularly the test classes: and


Documentation is available in Javadoc API. The REST client API is in these packages:


Back to the top