-
Notifications
You must be signed in to change notification settings - Fork 21
User guide
Francesco Chicchiriccò edited this page Oct 7, 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
Add the following Maven dependency if you are using the Engine (see options below):
<dependency>
<groupId>com.msopentech.odatajclient</groupId>
<artifactId>odatajclient-engine</artifactId>
<version>0.9.0</version>
</dependency>or, if you are using the Proxy:
<dependency>
<groupId>com.msopentech.odatajclient</groupId>
<artifactId>odatajclient-proxy</artifactId>
<version>0.9.0</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.