Breaking news, industry blogs and live commentary

IBM News on Ulitzer

Subscribe to IBM News on Ulitzer: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get IBM News on Ulitzer: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


IBM Journal Authors: Liz McMillan, Larry Alton, Janakiram MSV, Sematext Blog, Blue Box Blog

Related Topics: IBM Journal

IBM Journal: Article

OpenXava 5.1 released: Open Source tool for WebSphere development

Open Source tool for WebSphere development

OpenXava is an Open Source Tool for Rapid Development of Enterprise Web Applications. In OpenXava you only have to write the domain classes in plain Java to get a WebSphere application ready for production.
This 5.1 release has improved the inline editable collections a lot, in fact now you can do in an element collection most of the things possible in a regular detail view, and with a 10x improvement in performance. OpenXava 5.1 also includes a new editor that allows attach several files to an entity, support for Java 8, and many many more things.

We invite you to download it and upgrade your OpenXava applications. Look at the migration instructions.

Editable collections (@ElementCollection) improvements

These are the improvements in element collections:

  • Improving AJAX behavior with x10 improvement in responsiveness.
  • Reference data fetching optimized.
  • Search references with a search dialog available.
  • Annotations supported in the collection itself: @ReadOnly and @EditOnly.
  • Annotations supported in the embeddable class:[email protected] (including dependent ones), @NoSearch, @OnChangeSearch, @OnChange, @SearchListCondition, @SearchAction, @DefaultValueCalculator and @SearchKey.

In OpenXava 5.1 you can have collections like this one:

If you take a closer look at the above list of new features, you'll see how you can use in element collections most of the things available for regular detail views. Moreover, we have improved the performance 10 times, now using an element collection is as fast as a local spreadsheet.

Editor to attach several files to one entity

In OpenXava 5.0 we introduced a FILE stereotype to attach one file to an entity. Now, in OpenXava 5.1, we have a new FILES stereotype to attach several files:

@Stereotype("FILES")
@Column(length=32)
private String scripts;

To get this:

It can be configured to store the files in the database or the file system.

Others improvements

We have done a lot of improvements in other areas:

  • Java 8 support.
  • @DefaultValueCalculator is executed each time that the properties in @PropertyValue(from) change.
  • Look and feel for totals in lists and collections improved.
  • FirstSteps content changed.
  • French messages improved.
  • Showing messages in log for annotation misuse in element collection.
  • Methods assertEditableInCollection() and assertNoEditableInCollection() of ModuleTestBase work for any type of collection.
  • New assertValidValuesCountInCollection() and assertValidValuesInCollection() methods in ModuleTestBase.
  • Some new common use labels to be used in applications.

Bug fixes

Though this is not a maintenance version we have done some fixes:

  • Fix: Not numeric totals are not well aligned.
  • Fix: Totals are not well aligned after column resizes.
  • Fix: Summation icon in list not correctly aligned.
  • Fix: ModuleTestBase.assertLabelInList() does not work with element collections.
  • Fix: The xava:descriptionsList JSP tag only works from some folders.
  • Fix: Editor resizing in element collections only works for text input fields.
  • Fix: ModuleTestBase.logout() fails with the built-in security.
  • Fix: @DefaultValueCalculator with dependent properties is executed twice sometimes.


Download OpenXava 5.1

More Stories By Javier Paniza

Javier Paniza is the project lead for OpenXava project. He works as software developer at Gestión 400, a software company for public administration in Spain. He has been developing with Java Enterprise since 1998. Also he has been J2EE mentor for development teams in banking projects.