How do I interact with OData from Java?

user280638 picture user280638 · Mar 8, 2010 · Viewed 31.7k times · Source

OData is Microsoft's repackaging of its Astoria (now WCF Data Services) RESTful query/update protocol. If I want to use Java to create an OData compatible data source, how do I do that? Similarly, if I want to consume an OData data source from Java, how do I do that?

http://www.odata.org/

Partial answer below.

The OData website suggests that Restlet supports OData. Restlet's API documentation mentions the org.restlet.ext.odata package.

www.restlet.org/

www.restlet.org/documentation/snapshot/jee/ext/org/restlet/ext/odata/package-summary.html

Is this the only answer? Are there blog posts on doing this integration?

Answer

Fabrice picture Fabrice · Apr 17, 2010

There is also odata4j.