|[ecf-dev] rest API work|
Hi Folks,As per bug  there's been some work on simplifying Holger's most excellent REST API (as well as better leveraging the ECF remote services API). These refactorings have now been released to head. See  for up-to-date javadocs, and  for access to the source code. See particularly the test code in org.eclipse.ecf.tests.remoteservice.rest for usage examples...but more example code is coming. If others use the API and have example code, as usual all contributions will be appreciated. As well, it would be great to integrate this API into TweetHub for accessing the twitter service sometime soon.
With the improved integration with ECF remote services, it's now easily possible to expose an arbitrary rest-based service as an ECF remote service. (e.g. twitter...or your favorite rest-based service). It's *not* necessary to have the service be exposed via an ECF-based server/service (that is, any rest-based serviced can be accessed as a remote service).
We also have IP approval to use and distribute the json.org JSON parser implementation, so that those rest services that use json as the resource representation can parse JSON resources. The json.org parser is now a bundle included in our dev.eclipse.org build: org.json. Eventually, this bundle will probably move to Orbit, but in the mean time we will build it and deploy it with ECF.
Any thoughts/comments appreciated. Scott  https://bugs.eclipse.org/bugs/show_bug.cgi?id=294774 http://www.eclipse.org/ecf/org.eclipse.ecf.docs/api/ (org.eclipse.ecf.remoteservice.rest.* packages)
Back to the top