I am looking for a tutorial that shows step by step how to develop an odata service using Java.
The odata4j docs about deploying a service in Tomcat look decent: http://code.google.com/p/odata4j/wiki/Tomcat
Also see answers to a similar question: How do I interact with OData from Java?. That question covers odata clients in Java, but several of the links are relevant.
If you want to get an idea of how to access and work with Odata from a client side you could try taking a look at this tutorial:
http://weblogs.asp.net/uruit/archive/2011/09/13/accessing-odata-from-android-using-restlet.aspx.
It shows how to take an existing WCF service and auto generate the following class files for you to use within your applications. However, this example is specifically for Android and uses the Restlet library, but hopefully this can give you an idea as to how to access / use it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With