Maven parent project, which contains the Java apitrary Backend as a Service client and orm modules.
The apitrary.jar is broken down into 4 modules: apitrary-api, apitrary-api-client, apitrary-transport and apitrary-orm.
- The apitrary-api is a plain pojo implementation of the apitrary api schema.
- The apitrary-api-client uses the apitrary-api to fire requests against the apitrary API.
- The apitrary-transport is the parent module of several http transport wrapper implementations.
- apitrary-transport-cxf enables support for apaches cxf client implementation
- apitrary-transport-httpclient enables support for apaches httpclient implementation
- apitrary-transport-javanet enables support for plain java.net http connections
- The apitrary-orm module is devided into 2 submodules.
- The apitrary-orm-core module brings everything to you to CRUD your entities, map your business POJOs to JSON and vice versa and fire higher cascading operations.
- The apitrary-orm-codec module provides en- and decoding of your entity's properties (ex. images to base64 and vice versa).
The latest apitrary artifacts are published to maven central. Bringing apitrary into your project should be as simple as adding the following to your maven pom.xml file:
<dependencies>
<dependency>
<groupId>com.apitrary</groupId>
<artifactId>apitrary-api-client</artifactId>
<version>1.0.0</version>
</dependency>
<!-- it is necessary that you define the way you want to talk to apitrary! -->
<dependency>
<groupId>com.apitrary</groupId>
<artifactId>apitrary-transport-httpclient</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
You will need following:
Install via your package manager, otherwise get the libraries.
Descriptions can be found here:
For Maven: Building a Project with Maven
-
Clone the apitrary.jar project
$ git clone https://github.com/denisneuling/apitrary.jar.git
-
Change into the directory:
$ cd apitrary.jar
-
Run maven:
$ mvn install # fetch all dependencies and build the project
-
Start hacking.
- Have a look at Apitrary.jar at Travis CI
- apitrary-api Javadoc
- apitrary-api-client Javadoc
- apitrary-orm-core Javadoc
- apitrary-orm-codec Javadoc
- apitrary-transport-httpclient Javadoc
- apitrary-transport-javanet Javadoc
- apitrary-transport-cxf Javadoc
Note: The Javadoc will be exported once a release, so it might differ from the current master branch implementation.