ITworld.com
  Search  
ITworld Home Page ITworld Webcasts ITworld White Papers ITworld Newsletters ITworld News ITworld Topics Careers ITworld Voices ITwhirled Changing the way you view IT

Application Composer shows promise

InfoWorld 4/30/01

Todd Sundsted, InfoWorld

COMPONENT-BASED Web and enterprise application development has been a dream of forward-looking managers and technology leaders for years. In this dream, developers assemble powerful applications from prebuilt, pretested components. Development happens faster, introduces fewer bugs, and produces better software.

On this topic

WebGain Application Composer, the development tool previously known as Spin, attempts to make this dream a reality. And it does a better job than you might expect for a 1.0 release. Application Composer's support for Enterprise JavaBeans (EJBs) and JavaBeans, and its approach to integrating Java Server Pages (JSPs), Servlets, applications, and applets, almost led us to give it a score of Very Good. However, its lack of Swing user interface support and failure to integrate with source-code control software limited it to a score of Good.

A bundle of features

Rather than provide a proprietary toolkit and framework and ask developers to build applications with it, Application Composer starts with standards-based technologies such as Java, JavaBeans, Servlets, JSPs, and EJBs. Application Composer solves the difficult problem of integrating components built with these technologies by introducing an assembly process based on the notions of behaviors and events.

In Application Composer's scheme, components, also known as agents, have behaviors; events generated internally or externally invoke those behaviors to carry out the business operations of the application. In other words, behaviors provide the procedural glue that ties together the components of an Application Composer application.

WebGain Application Composer 1.0

BUSINESS CASE


The potential benefits of component-based software development include greater code reuse, fewer defects, and reduced maintenance cost and effort. Combined with proper up-front planning by senior members of the technical team, this tool can help developers realize these potential benefits.

TECHNOLOGY CASE


WebGain Application Composer provides a uniform approach to building component-based applications with Java, EJBs, JSPs, Servlets, and JavaBeans. It presents programmers with a component paradigm that encompasses all of these Java technologies and allows them to graphically assemble applications.

PROS


+ Isn't based on a proprietary framework and language

+ Assembles reusable components with minimal coding

+ Supports JavaBeans and EJB component models

+ Solid deployment support

CONS


- Lacks support for Swing user interface

- Does not integrate with source-code control applications

COST


$2,992 per developer

PLATFORMS


Windows NT, Windows 2000

WebGain, Santa Clara, Calif.; (408) 517-3700, www.webgain.com

It's easy to import existing work into Application Composer. Existing HTML pages, images, and other static content can be added directly into a project via the Project|Add menu in the Project window. Once added, the content is accessible to other components in the project. EJBs also can be imported into your projects. Application Composer uses JavaBeans to construct a user interface to access imported EJBs, and the interface methods of imported EJBs remain accessible within the tool.But most other components must be created within Application Composer.

Behavior here is an abstraction. Behaviors are reflected in the underlying technology through the appropriate mechanism. For example, in a Java application, behaviors are nothing more than methods. In JSPs, on the other hand, behaviors may consist of a combination of methods and Application Composer-specific tags. Application Composer also provides complex behaviors such as script and timeline-based behaviors.

Application Composer supports EJBs and JavaBeans, the two most widely known and widely used component technologies for the Java platform. (Any component-based tool that failed to support them would be doomed to a very short life span.)

Application Composer includes the free JBoss 2.0 EJB container for use in testing EJBs. It also integrates with popular commercial containers such as the one provided by the WebLogic 5.1 application server. JavaBeans require no special run-time support.

Deployment with a click

More than one development tool has stumbled in the deployment department. But in this regard, Application Composer shines. With one click, Application Composer packages all project files, along with a handful of support files, into a standard .war (Web archive) file. Developers are then free to use this .war file with any Web server or JSP container thatt supports the Java Servlet Specification 2.2.

On the downside, round-trip development is not part of the offering. Although .war generation is smooth and automatic, it's not quite so easy to take an existing application, developed with different tools or perhaps modified by hand, and turn it into an Application Composer project.

Also, Application Composer doesn't integrate with, or provide hooks to integrate with, popular source-code control applications. Modern development tools, especially those intended for use in enterprise development, typically provide some level of integration with the most popular source-code control applications. It's one more way to make the lives of developers easier and keep development projects on track.

A few practice swings

To quickly put Application Composer through its paces, we installed the software on a Windows 2000 machine with the recommended configuration (128MB of RAM). No problems there. Application Composer comes with JBoss and a database (Pointbase). These components can be activated and deactivated quickly and easily via the Preferences dialog.

Once we had Application Composer running, we quickly tried each of the included examples. The suite of examples runs the gamut from the typical toys (a mortgage calculator, for instance) to the very impressive icDVD.com example, which demonstrates most of the functionality present in a online shopping site.

Application Composer supports truly iterative development. Its iterative approach is clearly faster than manual coding for small changes and component assembly, and it's ideal for tweaking an application's interface. It's not so good for making large-scale changes that affect many layers of an application or for making the same change to a large number of nearly identical components. A macro facility would help here.

WebGain Application Composer supports an impressive number of technologies, including JSPs, Servlets, and EJBs. You can use it to build Web applications, applets, and stand-alone Java applications, although it doesn't yet support building applets and applications using Swing components.

If you'd like a quick indication of the scale and scope of the Web applications it can support, we suggest downloading the time-limited trial version of the software from WebGain's Web site and playing with the icDVD.com example.

As with any tool in this category, if you want to get the most from WebGain Application Composer and realize the dream of faster, easier development through reusable components, you must also have a plan that will drive the development of robust, reusable components. No tool can guarantee good classes, components, and applications, but Application Composer can certainly help.

If your shop is thinking seriously about reusable components, WebGain Application Composer is definitely worth a closer look.

Todd Sundsted is co-founder and chief architect of PointFire and can be contacted at todd@pointfire.com.




Sponsored Links

Multi-Core Test Results In Virtualized Servers
Check Out The Latest Xeon® Performance Results. Virtualized Servers vs. Non-Virtualized Servers.
FREE virus, spyware & adware scan
Find the malware your AV missed with the Sophos Threat Detection Test.
Replace your mainframe 4GL and save with Spectrum Writer.
Powerful, easy 4GL. Custom reports. Export files for PC programs. Web reports. Download free trial.
Improving the View with IP Videoconferencing
New videoconferencing technologies are poised to benefit the enterprise.
Used and Refurbished HP ProCurve Switches
Lifetime Warranties, Professional Testing & Shipping on all HP Equipment Purchases!
» Buy a link now

Advertisements
Sponsored links
Bring harmony to your mix of UNIX-Linux-Windows computing environments
Top 5 Reasons to Combine App Performance and Security
KODAK i1400 Series Scanners stand up to the challenge
Locate Hidden Software on business PCs with this free tool
 Home   Application Development  Programming concepts  Code reuse  Code/component libraries
www.itworld.com    open.itworld.com     security.itworld.com     smallbusiness.itworld.com
storage.itworld.com     utilitycomputing.itworld.com     wireless.itworld.com

 
Contact Us   About Us   Privacy Policy    Terms of Service   Reprints  

CIO   Computerworld   CSO   GamePro   Games.net   Industry Standard   Infoworld   ITworld  
JavaWorld   LinuxWorld  MacUser   Macworld   Network World   PC World   Playlist  

DEMO   IDG Connect   IDG Knowledge Hub   IDG TechNetwork   IDG World Expo  

Copyright © Computerworld, Inc. All rights reserved

Reproduction in whole or in part in any form or medium without express written permission of Computerworld Inc. is prohibited. Computerworld and Computerworld.com and the respective logos are trademarks of International Data Group Inc.