|
|
jLynx API
View the README ~ View sample config file in YAML format jlynx.yaml
About jLynx
NEW! Added YAML config in v1.5.1
In a nutshell jLynx is a simple, lite, hi-performance layer over the JDBC API. Persist and retrieve POJO and Map objects directly. Designed for developer productivity, it is simpler, easier to deploy as compared to Hibernate, JPA, etc. Now easier to configure - no XML!
Excellent choice for a Fast Lane Reader implementation. Output methods include XML and JSON.
Fewer peristence features than the well-known alternatives, yet jLynx capably handles CRUD operations with minimal configuration, hassle and complexity. jLynx is perfectly suited for small or mid-size applications (or micro-sized embedded applications due to it's small footprint).
jLynx can generate POJOs based on your database schema. For example, if you have 24 tables and views in your database, jLynx will create 24 objects with fields that map to the column names in each table.
jLynx implements the net.sf.jlynx.Relational interface, which has all necessary methods to persist objects and fetch entire collections of objects. jLynx leverages the strengths of SQL and the strengths of Java without having to write/maintain J2EE code. It is truly the best of both worlds.
Summary of Features
- Tiny, lightweight component (44K JAR) with no dependencies other than SLF4J (logging)
- Simple configuration uses YAML
- Simple API... perfect for small-to-medium sized applications
- POJO and java.util.Map persistence
- Tested on SQL Server, Oracle, IBM DB2/UDB, MySQL, PostgreSQL and HSQL
- CLOB/BLOB persistence (as of version 1.4.4)
- Fully working sample web application (WAR file)
- POJO & HTML code generation
- Outputs lists as JSON, XML or Java objects
Available via Maven
<dependency> <groupId>net.sf.jlynx</groupId> <artifactId>jlynx</artifactId> <version>1.5.0</version> </dependency>
