Jease Benefits from the Principles of Object-Orientation
The Java Zone is brought to you by Stormpath—offering a pre-built identity API for developers. Easily build powerful user management, authentication, and authorization into your web and mobile applications. Check out this tutorial to build a simple web app with Spring Boot and Spring Security in 15 minutes.
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 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.