-
Notifications
You must be signed in to change notification settings - Fork 21
User guide
Francesco Chicchiriccò edited this page Sep 24, 2013
·
41 revisions
This page shows some basic concepts and examples to work with of ODataJClient, Open Source (Apache License 2.0) library that enables Java applications to deal with OData 3.0 services.
- Apache Maven >= 3.0.3
- JDK >= 1.6.0-23
- Obtain source code by either
- downloading source ZIP archive
- or
git clone git@github.com:MSOpenTech/ODataJClient.git - Build
$ cd ODataJClient
$ mvn clean installAt this point ODataJClient is installed into your local Maven repository and must be added as dependency to your own Maven project as
<dependency>
<groupId>com.msopentech.odatajclient</groupId>
<artifactId>odatajclient-engine</artifactId>
<version><!-- version number installed above --></version>
</dependency>ODataJClient allows interacting with OData 3.0 services in Java at different levels:
-
Engine
Low-level communication layer taking care of actual REST communication and OData entity (de)serialization, exposing methods to hook into the OData protocol for manipulating entities and invoking actions and functions. -
Proxy
Inspired by JPA, this layer will convert any local change to POJOs and any local invocation of annotated interfaces' methods into actual calls to the Engine layer.