|
|
![]() |
|
|
Climbing Mount WebFace: An Exploration of WebSphere Development Studio Client by Raymond Everhart There it is, the summit is plainly in sight. It seems so close that you can almost touch it. This is not the time to relax. Many climbers have had to turn around when the top of the mountain was just beyond their reach. With the right preparation, deploying an RPG application via a browser is easy. WebFacing technology allows you to do this with little or no change to your code. Are you ready to climb Mount WebFace?
You may be asking, why should I climb Mount WebFace? Because it's there. Because you can. Because there's an adrenaline rush that goes along with pushing yourself to the limit to achieve a goal. The closest that I've ever come to climbing a mountain was a forced march up the slopes of Mount Marcy, near Lake Placid, New York. My employer at the time suggested that it would be a learning experience for our group, and he was right. I learned that I don't like climbing mountains. Don't get me wrong, a nice walk along a wooded trail is one of life's great pleasures. But any hike that requires physical conditioning and provisions is a little more than I want to attempt. Some of you may feel the same way about all the new technologies that IBM is delivering to our once quiet midrange world. I don't have to convince anyone of the strengths of the iSeries server. Its reliability and ease of use are legendary. But some people want more. GUI, the Internet, and a host of other buzzwords have become the standards by which applications and servers are measured. Sometimes, providing a GUI Web-based interface offers no real added function or value. One thing that I've learned over the years is that value is perceived. If my boss's boss thinks that a GUI interface is of great value, the pressure will be on to deliver GUI interfaces. When you try to explain that there is little to be gained by rewriting applications, the applications are labeled as "legacy code," which is perceived to be archaic, outdated, and of little value. The fact that the "legacy code" successfully runs the business is overlooked. How, then, do we give proven applications a face lift? WebFacing is the answer. If an application can be quickly Web-enabled with no change to the underlying code base, we are free to strategically plan if, when, and how we will move away from the traditional midrange-programming model. The purpose of this article is to change your perception of WebFacing from being a climbing expedition to a stroll in the woods. Setting Up a Base Camp No serious climber would attempt to climb Mount Everest without the right equipment. The development environment for green-screen applications is not the same as the development environment for Web-enabled applications. IBM has developed an integrated set of development tools and packaged them as WebSphere Development Studio Client. If you have a choice between WebSphere Development Tools and WebSphere Development Studio Client, choose Development Studio Client. I once heard an IBM executive say that the difference between WebSphere Development Tools and WebSphere Development Studio Client is like the difference between DOS and Windows XP. Regardless of which you use, get the most up-to-date service packs for both the client and the server. PTFs are very important. These development tools have evolved and will continue to evolve at a pace that may be disturbing to most midrange shops. Last year's tools will make your job harder. Even some Redbooks released earlier this year are now outdated. IBM is committed to this new environment and continues to improve and enhance the usability of these tools. So it is important to start using them today. Yes, there is a learning curve. Yes, it is new technology. No, it is not going away. The time to begin learning is now. There is an unprecedented amount of material available to help you begin your expedition. Installing WebSphere Development Studio Client Installing WebSphere Development Studio Client is much easier than installing WebSphere Development Tools. The installation consists of three CDs or one DVD. I installed Websphere Development Studio Client on 25 PCs and encountered only a few minor problems. The average install took about 30 minutes. On the first CD, when installing "common components," the progress bar wraps and starts over, so don't be alarmed when this happens. I also installed WebSphere Development Studio Client on a PC that already had WebSphere Development Tools installed, and was happy to find that the installation was just as easy. Installation from the DVD seemed to hiccup each time, but after restarting the installation, it ran to completion. If you are installing from a network drive and the path is too long, the installation will fail. The solution is to map a drive to the subdirectory that contains the WebSphere Development Studio Client image, then install from the mapped drive. The current service pack for Websphere Development Studio Client is SP3. The service pack can be downloaded from IBM's Web site and takes about 10 minutes to apply. How Big Is Big Enough? If you try to use these new development tools on a Pentium II class machine, you will be disappointed. My advice is to get as big a machine as your budget allows. Since my budget tends to be rather small, I ran some tests to determine what would be an acceptable machine to start with. The first PC that I tested was a 447 MHz Pentium II with 128 MB of RAM. Unfortunately, the install would not run. The next PC was a 730 MHz Pentium III machine with 128 MB of RAM running Windows XP. The installation was uneventful and went as expected. When I started WebSphere Studio Site Developer Advanced (WSSDA), it took 40 seconds to load the application. That may seem like a long time, but remember that in the Java environment the "first touch" always has a performance penalty. When I loaded WSSDA again, it took only 20 seconds. When the application is started the first time, the Java Virtual Machine (JVM) has to be loaded, so it takes longer. When I used the wizard to WebFace a simple application, it took 4 minutes and 50 seconds. Five minutes to WebFace a simple application may be acceptable for the first few projects, but I would not want to work in that environment. The easiest way to upgrade a PC is to add memory. So after cannibalizing another machine, I ended up with a total of 319 MB of memory. While the WSSDA startup times remained constant, the time to WebFace the same application dropped to 68 seconds. When I WebFaced the same application a second time, it took only 20 seconds. Next I tested a 1.2 GHz Pentium III with 768 MB of memory. The initial WSSDA load remained unchanged. The second load took only 12 seconds, and the time to WebFace the same application took 35 seconds. See Figure 1 for a comparison of all the hardware tested. The pattern is clear. WSSDA loves memory. If you can't do anything else, feed it more memory. In this release of WebSphere Development Studio Client, CODE/400 and VARPG are still separate programs and can easily be run with any of the configurations tested here. In the future, the function of these products will be merged into WSSDA as well. Another consideration for sizing your PC is that WebSphere Development Studio Client allows you to test your application right on your desktop. While this is a great feature, it requires resources as well. If I were buying a machine to run WebSphere Development Studio Client, I would choose a 1.8 GHz processor with at least 512 MB of RAM.
Planning Your Ascent If you expect to have a successful climb up Mount Everest, you need to plan. You need to plan the time of year for the climb and decide who will go with you and who will guide you. You need to prepare supplies for the trip. I'm not suggesting that WebFacing is as grueling as climbing a mountain. My recommendation is that you consider WebFacing as a first step in your plan for the future. To deploy your WebFaced application, you will need an application server. Your choice of an application server is the most strategic choice that you will need to make. Much has been written about the Tomcat and WebSphere application servers. There are strong opinions in both camps. Figure 2 highlights some of the factors that you should consider.
The conclusion that I've come to is that, when I'm called upon to provide a quick "proof of concept," I'll use the Apache Tomcat application server. I can download it on demand, install it quickly, and demonstrate a WebFaced application. It's also free. For information about installing Tomcat on the iSeries, see the article "Installing and Configuring Tomcat on iSeries." For production use, I recommend WebSphere Application Server Express 5.0 (a version for the iSeries should be available early in 2003). IBM supports it, it is integrated with the HTTP server, and it is more scalable than the Tomcat application server. The newest version of WebSphere Application Server is also much easier to configure and maintain. Another selling point is that IBM has priced the Express version very competitively. Since many of IBM's newest technologies are built on the WebSphere Application Server infrastructure, many new applications will require it as a prerequisite. See "iSeries Access Includes WebSphere Host Publisher," by Carole Miner, for an example of such a product. Finally, support is a big concern. While the Tomcat server requires less processor and memory, there is a lack of good documentation and support channels. I spent hours trying to resolve a problem that disappeared once I installed an older version of Tomcat. The time I spent trying to make it work could have paid for WebSphere. You might say that "free" isn't always the best value. Are You Ready to Start? The next article in this series will explain how to WebFace and deploy an application to the application server. The same application will be deployed on Tomcat and a WebSphere application server. Until then, get your copy of WebSphere Development Studio Client and load it on your PC. A stroll in the woods is much better experienced than read about. Raymond Everhart is an independent programmer/consultant in the Dallas/Fort Worth area and has 17 years of experience with IBM midrange servers. Raymond can be reached at reverhart@raecodesign.com.
|
Editors
Contact the Editors |
|
Last Updated: 12/5/02 Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved. |