Mitch Pronschinske is a Senior Content Analyst at DZone. That means he writes and searches for the finest developer content in the land so that you don't have to. He often eats peanut butter and bananas, likes to make his own ringtones, enjoys card and board games, and is married to an underwear model. Mitch is a DZone Zone Leader and has posted 2576 posts at DZone. You can read more from them at their website. View Full User Profile

Jease Benefits from the Principles of Object-Orientation

01.05.2010
| 11330 views |
  • submit to reddit
The Jease (Java with Ease) open-source framework, released last October, is intended to solve some of the problems in developing content and database-driven web applications with Java.  Jease offers a flexible content management framework rather than an entire content management system.  Along with a new version release (0.4), Jease just added another embedded object database for persistence. The Jease content management framework now has support for the Perst database, which works well with complex object-graphs and boasts a high performance with low memory and storage overhead.

Jease now features three object-oriented databases - db4o, NeoDatis, and Perst.  These databases, along with Apache Lucene and the ZK Ajax framework, make up the foundation for Jease.  The newest database, Perst, features automatic schema evolution, support for Java classes without any dependency on the database (“foreign objects”), and object array handling.  Maik Jablonski, the Jease founder and project leader, said, “Perst hides all the complexity from the application developer when working with a very complex object-graph like the node-hierarchy used in Jease.” 

Jease Interface


Jease aims to make the custom content structure creation fast and easy.  "The user creates a POJO and ‘programmatically declares’ that POJO's appropriate content editor (the form used to create and edit data for the structure)," said Jablonski.  "Just a few lines of code and you're done.  Jease handles behind-the-scenes considerations like persistence (thanks to the object-oriented database), a full Ajax-driven user-interface with drag/drop, and high-performance full-text-search.”

Jablonski believes that the principles of object-orientation unlock significant efficiency benefits.  “When working on a complex domain, you really want to use a domain model based on the principles of object-orientation," said Jablonski.  "That’s why object-relational-mapping is a must for complex projects involving relational databases.  But mapping relational tables to objects comes with additional costs, and seems overall a little bit antiquated.”  

“Using relational technology with an object-relational mapping makes me less productive as a developer: I need to maintain the POJO, the mapping and the database schema," said Jablonski.  "When using an object database like Perst, I just have to maintain the POJO, the database take cares of all the rest.”  Jablonsky says that relational technology with object-relational mapping also makes applications less efficient because there are additional costs from the mapping layer.

Jease 0.4 is the newest version of the content management framework and it comes with several new features.  A new Reference content type can access and display content from different places.  The UI has new update rules and there is now paging for large-content trees.  JSPs have been cleaned up and there is a shortcut for validation within ContentEditors.  

You can see a demo of Jease and download it here.