NEWS:
13 Apr 2008 - RELEASE 0.9.7 available including AutoFetch.
13 Mar 2008 - Draft User Guide available, please provide feedback - thanks.
|
|
Ebean ORM Persistence Layer
What is Ebean?
Ebean is a Object Relational Mapping Persistence Layer written in Java (Open Source LGPL license).
- Providing the features of EJB3's JPA (and more)
- No container required
- JPA compatible ORM mapping (@Entity, @OneToMany, ...)
Why use Ebean?
Ebean provides a simpler approach to Object Relational Mapping. It does this by
not requiring session objects such as JPA EntityManager,
JDO PersistenceManager, Hibernate Session, Toplink ClientSession.
| Sessions |
There are no Sessions to manage or think about |
| Attached and Detached Beans |
This concept is removed as there are no session objects to be 'detached from' |
| merge(), remove() and flush() |
Instead use save() delete() and transaction demarcation (commit and rollback)
which could be considered more transparent to the developer
|
| AOP style injection of EntityManager |
Not required so you don't need a EJB3 or IoC container to use Ebean |
| ClassLoading |
Just put the Ebean jars into your classpath. No agents or changes to your ClassLoaders is required. |
The net result is that Ebean is simpler to use and understand making developers more productive.
|
Roadmap
The Design and Philosophy behind Ebean.
Limitations and potential objections to using Ebean.
Download the Jars, Source code, Javadoc and Examples.
Install and Configure Ebean.
Generate Annotated Entity beans from your database schema.
Enjoy
|