Welcome!

Websphere Authors: Carmen Gonzalez, Yeshim Deniz, Elizabeth White, Sanjeev Sharma, Liz McMillan

Related Topics: Websphere

Websphere: Press Release

OpenXava 5.0 Released

Open Source tool for developing WebSphere applications

OpenXava is an Java Framework for Rapid Development of WebSphere Applications. In OpenXava you only have to write the domain classes in plain Java to get an application ready to be deployed on WebSphere or WebSphere Portal.

This 5.0 release has a new look & feel, includes module navigation, user login/logout (so you do not need Liferay anymore), inline editable collections (just like a spreadsheet), a new editor to attach files to your entity, and many many more things.

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

New look & feel

Just have a look at the demo to see the new look & feel.

Module navigation

At last, your OpenXava applications will include menus to access the modules:


So, you do not need use Liferay for providing module navigation to your application, a simple Tomcat is enough. Anyways, you can still deploy your application on Liferay where these new menus are not shown.

User login

Now your application will ask your user to sign in:

So, you do not need to use Liferay to provide user login/logout. Anyways, If you deploy on Liferay this login/logout mechanism will not be used. Moreover, you can disable it if you wish, for testing or for public applications.

Editable collections

In OpenXava 5.0 you can have collections like this one:

Where the user can modify any property of any element in any moment, and where all collection elements are saved at once when the main entity is saved.
These collections are defined using @ElementCollection, a new annotation of JPA 2 specification. These are collections of embeddable object (not entities).

For defining an element collection just use @ElementCollection instead of @OneToMany: Download OpenXava 5.0

@ElementCollection
@ListProperties("product.number, product.description," +
    "product.unitPrice, quantity, " +
    "amount[invoice.sum, invoice.vat, invoice.total]")
private Collection<InvoiceDetail> details;

And define the class for the element collection as @Embeddable instead of @Entity:

@Embeddable
public class InvoiceDetail {

The generated user interface for this code will be:


You can see how these collections support calculated properties, references, totals, etc.

Editor to attach files

Until now to attach files to your entities you should create your own editor. That is no longer needed, now you can use the new FILE stereotype, thus:

@Stereotype("FILE")
@Column(length=32)
private String trailer;

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:

  • New renderer engine to layout the user interface.
  • Look and feel of date editor improved.
  • Several reports in one PDF with the new JasperConcatReportBaseAction.
  • @Collapsed annotation to initiate collections and references with the frame closed. Also allowed in XML components.
  • New NoCustomizeList controller for disabling list customization to a specific module.
  • The user can share a report of 'My reports' with all other users.
  • New Addons project added to distribution to contain extended features outside of the OpenXava core.
  • New InvoiceDemo project added to distribution.
  • Groovy upgraded to 2.2.2.
  • JasperReports upgraded to 5.5.1.
  • DWR upgraded to 2.0.10.
  • JSTL upgraded to 1.2 using Apache Standard Taglibs 1.2.1.
  • JavaMail upgraded to 1.5.1.
  • Upgrade of commons libraries to: beanutils 1.8.0, logging 1.1.1, digester 2.1, codec 1.9, fileupload 1.3.1, io 2.4, lang 2.6, validator 1.4.0.
  • Upgrade to Servlet 2.5 and JSP 2.1.
  • Added Commons Lang3 3.2.1 library.
  • Tomcat 7 included in distribution.
  • Dropped IE6, IE7 and IE8 support.
  • Using module.jsp to execute modules from browser is no longer supported.
  • Dropped Java 5 support, from now on Java 6 or better is required.
  • Dropped WebSphere 6.1 and WebSphere Portal 6.1 support.
  • Dropped Tomcat 5.5 support.
  • Removed jakarta-oro library, only used by older commons-validator.
  • ejb.jar and jpa.jar added to WEB-INF/lib to facilitate deploying in Tomcat.
  • MiEscuela project removed from distribution.
  • AccessTracking removed from OpenXava distribution.
  • Objects class from org.openxava.util removed, you can use XObjects instead.
  • New is/setCollapsed() methods in View to close a frame of a reference or collection programmatically.
  • Added validateMinimum() and validateMaximum() to CollectionElementViewBaseAction.
  • New getPopupPDFPageCount() method in ModuleTestBase.
  • New methods setValueInCollection(), assertEditableInCollection() and assertEditableInCollection() in ModuleTestBase.
  • New method noFirstTokenWithoutFirstDelim() in Strings.
  • When @Digits is specified default scale is ignored even if fraction is not specified.
  • Performance of delete action in detail mode action improved.
  • Improved behavior with READ COMMITED isolation level.
  • New commit() and rollback() methods in BaseAction.
  • Methods Is.emptyString() and Is.emptyStringAll() allow infinite number of arguments.
  • clearCondition() method removed from ModuleTestBase.

Bug fixes

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

  • Fix: Double border when using .ox-frame in the CSS with new renderer.
  • Fix: Totals in collections frames are not shown with the new renderer.
  • Fix: assertListRowCount() method from ModuleTestBase fails when the value of summationInList property is false.
  • Fix: Subcontrollers fails in split mode.
  • Fix: Incorrect encoding in emails sent by Emails class.
  • Fix: Members inside @NoFrame are not aligned with the outside members.
  • Fix: Incorrect default size for java.lang.Boolean.
  • Fix: View broken on reload if the module is inside a HTML table.
  • Fix: Simple property after group without ; does not layout correctly.
  • Fix: A reference with @NoFrame inside a group produces an ugly layout.
  • Fix: Error messages for @Size in collections show 'Element' in English always, even if English is not used.
  • Fix: Top field with little margin on top with the new renderer.
  • Fix: Html id for frames not correct for references with new renderer.
  • Fix: Properties aligned by column when it should not in the new renderer.
  • Fix: Property icons are not aligned correctly with the new renderer.
  • Fix: Scale defined in default-size.xml is ignored when formatting.
  • Fix: Scale definition from @Column and @Digits is ignored when formatting.
  • Fix: The @LabelStyle annotation is not supported with the new renderer.

Download OpenXava 5.0

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.

@ThingsExpo Stories
Scott Jenson leads a project called The Physical Web within the Chrome team at Google. Project members are working to take the scalability and openness of the web and use it to talk to the exponentially exploding range of smart devices. Nearly every company today working on the IoT comes up with the same basic solution: use my server and you'll be fine. But if we really believe there will be trillions of these devices, that just can't scale. We need a system that is open a scalable and by using the URL as a basic building block, we open this up and get the same resilience that the web enjoys.
The Internet of Things is tied together with a thin strand that is known as time. Coincidentally, at the core of nearly all data analytics is a timestamp. When working with time series data there are a few core principles that everyone should consider, especially across datasets where time is the common boundary. In his session at Internet of @ThingsExpo, Jim Scott, Director of Enterprise Strategy & Architecture at MapR Technologies, discussed single-value, geo-spatial, and log time series data. By focusing on enterprise applications and the data center, he will use OpenTSDB as an example t...
P2P RTC will impact the landscape of communications, shifting from traditional telephony style communications models to OTT (Over-The-Top) cloud assisted & PaaS (Platform as a Service) communication services. The P2P shift will impact many areas of our lives, from mobile communication, human interactive web services, RTC and telephony infrastructure, user federation, security and privacy implications, business costs, and scalability. In his session at @ThingsExpo, Robin Raymond, Chief Architect at Hookflash, will walk through the shifting landscape of traditional telephone and voice services ...
The Domain Name Service (DNS) is one of the most important components in networking infrastructure, enabling users and services to access applications by translating URLs (names) into IP addresses (numbers). Because every icon and URL and all embedded content on a website requires a DNS lookup loading complex sites necessitates hundreds of DNS queries. In addition, as more internet-enabled ‘Things' get connected, people will rely on DNS to name and find their fridges, toasters and toilets. According to a recent IDG Research Services Survey this rate of traffic will only grow. What's driving t...
Enthusiasm for the Internet of Things has reached an all-time high. In 2013 alone, venture capitalists spent more than $1 billion dollars investing in the IoT space. With "smart" appliances and devices, IoT covers wearable smart devices, cloud services to hardware companies. Nest, a Google company, detects temperatures inside homes and automatically adjusts it by tracking its user's habit. These technologies are quickly developing and with it come challenges such as bridging infrastructure gaps, abiding by privacy concerns and making the concept a reality. These challenges can't be addressed w...
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at Internet of @ThingsExpo, James Kirkland, Chief Architect for the Internet of Things and Intelligent Systems at Red Hat, described how to revolutioniz...
Bit6 today issued a challenge to the technology community implementing Web Real Time Communication (WebRTC). To leap beyond WebRTC’s significant limitations and fully leverage its underlying value to accelerate innovation, application developers need to consider the entire communications ecosystem.
The definition of IoT is not new, in fact it’s been around for over a decade. What has changed is the public's awareness that the technology we use on a daily basis has caught up on the vision of an always on, always connected world. If you look into the details of what comprises the IoT, you’ll see that it includes everything from cloud computing, Big Data analytics, “Things,” Web communication, applications, network, storage, etc. It is essentially including everything connected online from hardware to software, or as we like to say, it’s an Internet of many different things. The difference ...
Cloud Expo 2014 TV commercials will feature @ThingsExpo, which was launched in June, 2014 at New York City's Javits Center as the largest 'Internet of Things' event in the world.
SYS-CON Events announced today that Windstream, a leading provider of advanced network and cloud communications, has been named “Silver Sponsor” of SYS-CON's 16th International Cloud Expo®, which will take place on June 9–11, 2015, at the Javits Center in New York, NY. Windstream (Nasdaq: WIN), a FORTUNE 500 and S&P 500 company, is a leading provider of advanced network communications, including cloud computing and managed services, to businesses nationwide. The company also offers broadband, phone and digital TV services to consumers primarily in rural areas.
"There is a natural synchronization between the business models, the IoT is there to support ,” explained Brendan O'Brien, Co-founder and Chief Architect of Aria Systems, in this SYS-CON.tv interview at the 15th International Cloud Expo®, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
The major cloud platforms defy a simple, side-by-side analysis. Each of the major IaaS public-cloud platforms offers their own unique strengths and functionality. Options for on-site private cloud are diverse as well, and must be designed and deployed while taking existing legacy architecture and infrastructure into account. Then the reality is that most enterprises are embarking on a hybrid cloud strategy and programs. In this Power Panel at 15th Cloud Expo (http://www.CloudComputingExpo.com), moderated by Ashar Baig, Research Director, Cloud, at Gigaom Research, Nate Gordon, Director of T...
An entirely new security model is needed for the Internet of Things, or is it? Can we save some old and tested controls for this new and different environment? In his session at @ThingsExpo, New York's at the Javits Center, Davi Ottenheimer, EMC Senior Director of Trust, reviewed hands-on lessons with IoT devices and reveal a new risk balance you might not expect. Davi Ottenheimer, EMC Senior Director of Trust, has more than nineteen years' experience managing global security operations and assessments, including a decade of leading incident response and digital forensics. He is co-author of t...

ARMONK, N.Y., Nov. 20, 2014 /PRNewswire/ --  IBM (NYSE: IBM) today announced that it is bringing a greater level of control, security and flexibility to cloud-based application development and delivery with a single-tenant version of Bluemix, IBM's platform-as-a-service. The new platform enables developers to build ap...

The security devil is always in the details of the attack: the ones you've endured, the ones you prepare yourself to fend off, and the ones that, you fear, will catch you completely unaware and defenseless. The Internet of Things (IoT) is nothing if not an endless proliferation of details. It's the vision of a world in which continuous Internet connectivity and addressability is embedded into a growing range of human artifacts, into the natural world, and even into our smartphones, appliances, and physical persons. In the IoT vision, every new "thing" - sensor, actuator, data source, data con...
Technology is enabling a new approach to collecting and using data. This approach, commonly referred to as the "Internet of Things" (IoT), enables businesses to use real-time data from all sorts of things including machines, devices and sensors to make better decisions, improve customer service, and lower the risk in the creation of new revenue opportunities. In his General Session at Internet of @ThingsExpo, Dave Wagstaff, Vice President and Chief Architect at BSQUARE Corporation, discuss the real benefits to focus on, how to understand the requirements of a successful solution, the flow of ...
"BSQUARE is in the business of selling software solutions for smart connected devices. It's obvious that IoT has moved from being a technology to being a fundamental part of business, and in the last 18 months people have said let's figure out how to do it and let's put some focus on it, " explained Dave Wagstaff, VP & Chief Architect, at BSQUARE Corporation, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4-6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
Focused on this fast-growing market’s needs, Vitesse Semiconductor Corporation (Nasdaq: VTSS), a leading provider of IC solutions to advance "Ethernet Everywhere" in Carrier, Enterprise and Internet of Things (IoT) networks, introduced its IStaX™ software (VSC6815SDK), a robust protocol stack to simplify deployment and management of Industrial-IoT network applications such as Industrial Ethernet switching, surveillance, video distribution, LCD signage, intelligent sensors, and metering equipment. Leveraging technologies proven in the Carrier and Enterprise markets, IStaX is designed to work ac...
C-Labs LLC, a leading provider of remote and mobile access for the Internet of Things (IoT), announced the appointment of John Traynor to the position of chief operating officer. Previously a strategic advisor to the firm, Mr. Traynor will now oversee sales, marketing, finance, and operations. Mr. Traynor is based out of the C-Labs office in Redmond, Washington. He reports to Chris Muench, Chief Executive Officer. Mr. Traynor brings valuable business leadership and technology industry expertise to C-Labs. With over 30 years' experience in the high-tech sector, John Traynor has held numerous...
The 3rd International @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that it is now accepting Keynote Proposals. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devices - computers, smartphones, tablets, and sensors - connected to the Internet by 2020. This number will continue to grow at a rapid pace for the next several decades.