download25.com

Your free TOP 25 download source!

Easy Java Persistence EJP 2.6

EJP is an extremely powerful object-relational persistence API
Publisher: dabuTech
Category: Misc Applications
Version: 2.6
License: freeware
Cost: 0$
Size: 2.76 MB
Updated: 26 Feb 2012
Bookmark: Click here
award
Review
Easy Java Persistence (EJP) is a powerful and easy to use relational database persistence API for Java. EJP's main features include:

- automatic object-relational mapping (A-O/RM)
- objects are isolated from database changes, and vice versa
- similar functionality to JPA (only easier)
- performance is equal to or better then any JPA implementation
- a footprint a fraction the size of any other (less than 300k)
- object-oriented queries, inserts, updates, deletes, etc.
- automatic object/relational mapping (A-O/RM)
- automatic handling of all associations
- automatic persistence tracking
- commercially supported software
- and a lot more (see web site)

EJP has no need for mapping annotations or XML configuration, and there is no need to extend any classes or implement any interfaces. You truly do use your Plain Old Java Objects (POJOs). EJP is, by far, the easiest persistence API available for Java. And it can handle anything you need to do!

EJP is this easy (no annotations or configuration):

public static void main(String[] args)
{
// One of many ways to connect to your database
DatabaseManager dbm = DatabaseManager.getDatabaseManager("com.mysql.jdbc.Driver",
"jdbc:mysql://localhost/ejp_example");

dbm.saveObject(new Customer("Smith", "John"));

Customer customer;

if ((customer = dbm.loadObject(new Customer("Smith"))) != null)
{
customer.getSupport().add(new Support(...));

dbm.saveObject(customer);
}

Collection list = dbm.loadObjects(new ArrayList(), Customer.class);
...
}


And, it's used with normal unadorned (no annotations) class definitions.


download (ejp_2.7.zip - 2.76 MB)