Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesVisual Age for Java


July 1997 / Javatalk / Visual Age for Java

IBM's Visual Age for Java isn't just beans.

Rick Grehan

I have always admired the Visual Age parts paradigm and how well you can use it to build visual and nonvisual applications. I've covered IBM's Visual Age products before (see "A New Age for OS/2 Programmers," October 1995 BYTE, p. 46, and "Visual Age for BASIC...Sort Of," November 1996 BYTE). It was only a matter of time before a Java version appeared.

If you like Visual Age's parts paradigm, you'll feel at ease using Visual Age for Java. VAJ easily carries the parts concept into the Java world. A new aspect of Visual Age is a welcome surprise. IBM recognized that it had to beef up VAJ with several progra mming assistance wizards ( referred to in this product as builders) so that it could carry out its main mission: to help programmers build distributed Java applications.

This is an area where I have to be careful. In the Java world, the word application has a special meaning. It identifies a Java program that can run stand-alone (in other words, it's not an applet and doesn't need to execute in a Java-enabled browser). More precisely, then: The main purpose of VAJ is to help programmers build distributed Java packages, where a package can include one or more Java applets. The distributed nature of the package comes into play when one or more beans in a Java applet are executing remotely on a Java server.

The Power of Remote Beans

The Java version of Visual Age is built on beans. IBM would probably prefer the previous sentence to read that it's "built on parts." In this case, however, a bean and a part are the same thing. Becaus e Java beans are components providing both design-time and execution-time behaviors, they have all the ingredients needed to reincarnate a part -- in the Visual Age sense -- in the Java world.

From within the program's integrated development environment (IDE), you can drag and drop parts taken from a parts palette into the visual composer window. These parts are simply Java beans; in fact, you can import a Java bean into the VAJ environment, and it immediately becomes a usable part. VAJ reads the bean's interface, locating methods and events, and automatically incorporates them into the IDE.

Another important technology is Java's remote method invocation (RMI). RMI lets a Java application or applet invoke an object's method across the wire. In other words, a Java application on one machine can execute a method within a Java object on another machine. More important, the calling application has no idea that the invoked method is remote. RMI provides the communications plumbing needed to distribute an application.

The beta version of VAJ that I tested comprised two programs, the IDE and the enterprise application builder (EAB). IBM officials say that the commercial release of the program, which will run on Windows 95 or NT, will merge the two programs to create a single package.

The IDE includes the editor, compiler, browsers, and other modules. It masks the fact that a project is a collection of files. Instead, you move smoothly from project to class to source code. The IDE's incremental compile capability speeds up the applications-development cycle. VAJ is also team-aware -- its repository-based source control mechanism lets multiple developers work on a project simultaneously. Additionally, VAJ retains the Visual Age program-by-wiring paradigm. You populate a form with parts (in this case, they are called beans) and define the behavior of the application by wiring a source part to a destination part and specifying the nature of that connection.

The EAB is a collection of four wizar ds: data access builder, C++ access builder, Customer Information Control System (CICS) access builder, and RMI access builder. The EAB allows existing data applications to deliver content over the Web. Each builder guides you through a remarkably small number of steps for building wrapper Java code.

For example, if you point the data access builder at an ODBC database, it automatically builds a collection of classes that -- via Java Database Connectivity (JDBC) -- can read, add, delete, or update the contents of the database. You have to identify which columns you want to access, but beyond those simple specifications, data access builder does the rest. Similarly, C++ access builder provides Java wrapper code for accessing C++ applications, CICS access builder links your Java code to CICS transactions, and RMI access builder constructs the necessary stub and proxy code for calling Java methods remotely.

At the time of this writing, Visual Age for Java was due for release at the end of June. IBM h ad not yet set pricing. If the final version is anything like the beta version, VAJ will join the likes of Delphi and Optima as a robust client/server development system.


Product Information


Visual Age for Java

Internet: 
http://www.software.ibm.com/ad/vajava


HotBYTEs
 - information on products covered or advertised in BYTE


Exporting Paradigms

screen_link (52 Kbytes)

VAJ brings Visual Age's program-by-wiring paradigm to the Java language.


Rick Grehan is a senior editor at Computer Design and coauthor of The Client/Server Toolkit (NobleNet). You can send e-mail to him at rickg@pennwell.com .

Up to the Javatalk section contentsGo to next article: Java in the Real WorldSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network