All Together in the IDE
Because of the transformation of UI elements into XUL and other message-oriented optimization, elements of a Nexaweb application destined for the client side are different. For that reason, Nexaweb created Nexaweb Studio as the IDE to develop most of the client UI, to develop the business logic (MCOs), and to integrate other programming elements. Nexaweb Studio is built on the Eclipse IDE, wedding that environment to the requirements of Nexaweb's runtime scheme.
In most respects the development surfaces, available widgets, and plenitude of wizards (Component Wizard, Event Wizard, Application Wizard, Data Service Wizard, Layout Wizard, Data Connection Wizard) should be familiar to any developer that has used a major Java IDE. In fact, Nexaweb Studio expects that developers will be using other tools to provide application components that aren't created using Nexaweb Studio, especially Web services, EJBs, and some kinds of servlets. It provides explicit instructions for integrating with IBM WebSphere Studio Application Developer.
The following may be a key point for a lot of shops: Nexaweb uses the existing Java infrastructure — application server, security systems, database connectivity, JSP engine, EJB containers, and Java Servlet Engine. What needs to be changed (and Nexaweb can import Java code from other applications) are the UI, business logic, and perhaps some servlet action.
Dangling Data Management
While most developers will have little problem adapting to Nexaweb for the UI or business logic, data management may be problematic. The current version of Nexaweb data service provides data to the Nexaweb client by transforming XML data with an XSL stylesheet into XUL. XML, Stream, and JDBC data providers are supported. The most common business end of this will be JDBC (and the JDBC/ODBC-bridge), which requires many steps to name and qualify the driver, qualify the data source, and finally to use a crude query builder for the SQL statement. What Nexaweb recommends is that JDBC/ODBC, EJB/Entity Beans, or JDO/JCache approaches be used, which means creating them in another development system.
This works, to a point, but it doesn't provide the kind of control over data typical in other IDEs where making data available to applications is emphasized. Data can be managed within Nexaweb Studio, but the relationship to data is murky and not optimized. (Anything that travels over the JDBC/ODBC bridge is suspect.) Nexaweb should be carefully tested before using it with applications such as analytics or reporting where large amounts of data need to be sent to the client either for processing or user interaction.
Figure 2: Nexaweb Studio uses numerous wizards to help the developer create an application for the Nexaweb method of deployment.
Not Quite the Sum of the Parts
The clever use of XML (XUL/SVG) and incremental updating of the UI to create an ultra-thin messaging system makes it possible to have a rich — but thin — client. This is no mean achievement, but it's not necessarily easy for the average developer to understand. There are loose ends, in the documentation, in database management, and component integration. As a general impression, Nexaweb, more than many IDEs, is a work in progress. At this stage, it may be difficult to figure out the "road map" to using existing Java components and adapting applications for Nexaweb deployment.
The question is, then, is it worth the extra, or at least different, effort? Is this approach actually faster than HTML? Can users get a better application experience? Yes, they can. Timings with a couple of applications convinced me that the Nexaweb applications respond more quickly. Unfortunately, that was only two applications with a user base of one. The limit to scalability of a Nexaweb application is still an open question in my mind. I will say it's great to be rid of the screen blipping that's the curse of so many HTML applications.
Will It Fit in Your Shop?
Nelson King is a 25-year veteran of the coding wars. He has written nine books on application development, and his tool evaluations are widely published.