Expression Pattern Language can be adapted to work with data in any tabular format, including relational database tables. The extensions package, named "Classy eXPL" provides a bridge to the "Classy Data" Lightweight JPA package so minimal effort is required to work with relational databases. Also platforms with limited resources, such as Android, can utilize eXPL with JPA.
Step 1 - Download project to your PC
The Classy eXPL project is downloaded from the a public Git repository. In a command console, go to your chosen workspace location and run:
Upon completion, the project will be found in the "classy_eXPL" sub directory, from now referred to as the Classy eXPL "home location". There are four sub modules under the parent POM:
- xpl-extensions, the package to extend eXPL using Classy Data
- xpl-tutorial, the code examples for eXPL extensions reference
- xpl-example, additional examples (currently only 1)
Step 2 - Set up Maven Settings and Classy eXPL Project
There are three major dependencies that need to be located when the project is installed by Maven:
- Ormlite version 5.0 - Located at the Maven Central Repository, so available instantly
- Classy Data library version 1.3.2 - Located at JCenter Maven Repository. To install the project successfully, the local Maven Settings file needs to be configured. Refer to the "SET ME UP" link on the JCenter home page.
- eXPL Library version 2.0.1 - Also located at JCenter
Build the project and deploy artifacts to the local repository using Maven. Go to the eXPL home location and run:
