jLynx Persistence 1.6: Persistence for Small Projects and Quick Prototypes
jLynx Persistence has just been updated to Version 1.6.0.
Designed to be simple to learn and use, this version renames the interface and implementation to the more intuitive names of DAO and DAOImpl. Also the List and JSON fetching methods were renamed.
Configuration uses a YAML file as opposed to XML. Column-field mapping was added as a configuration option.
The google project download includes a quick start web application with source code.
Version 1.6 can be downloaded at Google Code: http://code.google.com/p/jlynx-persistence-framework
How easy is it? Here we save an object to the database with 1 line of Java code...
WidgetBean w = new WidgetBean();
w.setName("iPhone");
//save widget:
new DAOImpl(w).save();
- Login or register to post comments
- 1182 reads
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)










Comments
Jacek replied on Mon, 2008/08/25 - 12:01pm
+1 on using YAML.
It's a file format more Java developers should get familiar with to escape the (often unnecessary) verbosity of XML.
Patrick Kimber replied on Tue, 2008/08/26 - 12:47pm
Can you tell me when the jar files for version 1.6.0 will be deployed to the Maven repository?
Thanks
Greg Ritchie replied on Wed, 2008/08/27 - 7:14am
in response to: pkimber
Check the repo today. Should be out there within a few hours.
Regards
Patrick Kimber replied on Wed, 2008/08/27 - 3:46pm
in response to: ritchig