|
Comments
|
Today's Top SOA Links
Java Industry News OpenXava 3.1.3: Productivity and Flexibility for Java EE
OpenXava 3.1.3 is a framework to develop Java Enterprise applications in a different way
By: Javier Paniza
Jun. 16, 2009 03:45 PM
OpenXava 3.1.3 is a framework to develop Java Enterprise applications in a different way: OpenXava avoids MVC. It's a JPA Application Engine in that you provide only your POJOs annotated with JPA and you obtain an application ready for production. Productivity @Entity And you have an application (see it here) for CRUD, report generation in PDF, export to Excel, searching, sorting, validations etc. You only need to write a simple Java class, no XMLs, no JSPs and no code generation. Flexibility @OneToMany(mappedBy="parent", cascade=CascadeType.REMOVE) Then OpenXava produces a generic user interface for the collection, just like the one in this demo. If this user interface is not suitable for this case you can use the @Editor annotation: @OneToMany(mappedBy="parent", cascade=CascadeType.REMOVE) And you have your editor defined in editors.xml thus: <editor name="BlogComments" url="blogCommentsEditor.jsp"/> If you have BlogComment collections scattered accross your application, you can define the editor as following: <editor url="blogCommentsEditor.jsp"> In this way you do not need to use @Editor in each BlogComment collection. <editor name="MyCollection" url="myCollectionEditor.jsp"> Thus, all the collections and references of the application will be render with your own editors. So, you are defining the way the user interface generator of OpenXava works.
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
|||||||||||||||||||||||||||