Fruit is a simple object-store API layer that abstracts common DAO-type persistence use-cases. It provides a basic implementation for JPA that allows to kickstart simple persistence solutions.
The name comes from the first letters of OBject STore which means 'fruit' in german.
Fruit is is distributed under the terms of the Apache Software Foundation license, version 2.0. The text is included in the file LICENSE in the root of the project.
fruit-core
contains the Fruit APIfruit-jpa
is an implementation of Fruit using JPAfruit-util
contains useful utilities, e.g. a Fruit Repository implementation using Maps
Fruit is hosted on maven-central and can easily be integrated into your project using maven
Maybe you want to separate your implementation from the API usage. If you only need the api, add the fruit-core
dependency
<dependency>
<groupId>org.cdlflex</groupId>
<artifactId>fruit-core</artifactId>
<version>add current version here</version>
</dependency>
If you want to use Fruit with a JPA implementation, you would add the fruit-jpa
dependency
<dependency>
<groupId>org.cdlflex</groupId>
<artifactId>fruit-jpa</artifactId>
<version>add current version here</version>
</dependency>
Build the entire project using Maven
mvn clean install
You can find the documentation on github in the wiki section