04
Mon, Nov
1 New Articles

Learning to Serve

Development Tools
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times
"The only ones among you who will be really happy are those who have sought and found how to serve."
--Albert Schweitzer


As I promised in my inaugural column, I'm going to use this installment to explain just what the WebSphere Application Server (WAS) is and what it can do for you. And though Dr. Schweitzer's comment was meant in a completely different context, those of you who are embarking on the road to Web application deployment will need to learn how to serve, lest your days be fraught with sorrow and frustration. So strap in; this may be a little bit of a bumpy ride, but you'll be happier for it.

In this article, I'll review...

  1. The difference between an HTTP server and a Web application server
  2. The difference between the classic IBM HTTP server and the powered-by-Apache HTTP server
  3. The difference between WebSphere and Tomcat
  4. The various versions, editions, and platforms of WebSphere


First, I'd like to quickly review exactly what a Web application server is. In its simplest terms, a Web application server is the piece of software that makes servlets and JavaServer Pages (JSPs) run. However, in order to make servlets work, there are really two pieces of software required: the HTTP server and the Web application server. The HTTP server is the piece of software that serves up static Web pages. It also calls CGI programs, which in the iSeries world usually means RPG CGI programs. If your Web development environment will consist solely of Web pages and RPG CGI programs, you don't even need a Web application server. All you need is the standard iSeries HTTP server.

But even that simple answer is not quite as clear-cut as it used to be, because today the iSeries has not one but two different "standard" HTTP servers: the "classic" IBM HTTP server and the newer "powered-by-Apache" HTTP server. (I told you it would be a little confusing.) Today, I use the classic server, but my company is doing a lot of research on the powered-by-Apache server, since Apache is the stated direction of IBM. In a subsequent column, I'd like to review some of the differences between these two, but for the purposes of the WebSphere discussion, either server works fine.

For this column, I'll assume that you're going to use servlets and/or JSPs. How you actually design and deploy your application is a discussion for a different day, but no matter which architecture you choose, you'll need to use a Web application server. Again, the choice isn't cut and dried. The iSeries supports two very different Web application servers: WebSphere and Tomcat. I know, I know, we're already at four different configurations, and we haven't even begun to talk about WebSphere. I'll try to keep things simple, but this is important information.

The difference between WebSphere and Tomcat is immense, and it goes to show how even open source projects can become very fragmented. While both WebSphere and Tomcat are based on Sun Microsystems' original servlet specifications, WebSphere is IBM's proprietary system and Tomcat is an open source implementation. Even though they are both intended to do the same thing, how they do them is very different. More importantly, how they are configured to do them is very different. While each runs via a number of configuration files, the Tomcat configuration is entirely different than the WebSphere configuration.

But rather than clutter this column with the minutiae of the differences between the two Web application servers, I'm instead going to whittle down the options a little more. Not only am I assuming that you're going to use servlets, I'm also assuming that you're going to use WebSphere rather than Tomcat. Like the differences between the classic IBM HTTP server and the new powered-by-Apache server, the differences between WebSphere and Tomcat should be explored before you make any deployment decisions, but I'll leave that for another column on another day as well.

So, now that I've narrowed the focus to WebSphere, you might be breathing a sigh of relief, thinking that the choices are over and we can move on to implementation. Unfortunately, that's not the case. Even within WebSphere there are several versions, and each version has different editions, not to mention the fact that WebSphere is also targeted for several operating systems besides OS/400.

WebSphere has had six major version releases to date: 1.0, 1.1, 2.0, 3.0, 3.5 and 4.0. Of these, 1.0 through 3.0 were what I consider "warm-up" releases, and in fact the changes from 2.0 to 3.0 were so substantial that they seemed like different products. The biggest change was the introduction of something called the "Administration Client," or adminclient. The adminclient is a PC-based product that is required for configuring your iSeries WebSphere software. Not only that, it requires a relatively hefty machine running either Windows NT or Windows 2000. In a later column, I'll talk about the Administration Client and what it does and how it does it, but for now, just be prepared for the fact that in order to run WebSphere on the iSeries, you need a relatively high-powered PC running Windows NT or 2000 (I think there's also an AIX version of the adminclient, but in most shops AIX workstations are even rarer than Windows 2000 machines).

Version 3.5 was basically an upgraded Version 3.0, since the product interface remained essentially the same. Version 3.5 also has the distinction of being the last free version of WebSphere. This is because, up to and including Version 3.5, there were two different "editions" of WebSphere: the Standard Edition and the Advanced Edition. The Standard Edition was free, but it didn't support certain features like Enterprise Java Beans (EJBs) that were supported in the extra-charge Advanced Edition. Even so, it was perfectly suited for deploying servlets and JSPs. When Web-enabling legacy systems, there is no need for EJBs, so the Standard Edition has been an excellent option. This allowed a nice, smooth migration path: You'd Web-enable your existing systems with the Standard Edition, and then as you moved forward into more-advanced Web applications, you could upgrade to the Advanced Edition.

With the introduction of WebSphere Version 4.0, that all changed. IBM dropped the Standard Edition and added an Enterprise Edition. The Enterprise Edition includes CICS and MQSeries support bundled in, as well as a burgeoning new line of "business beans," in addition to the EJB and database support of the Advanced Edition. What has all this got to do with your existing systems? Not much. Unless you're building an entire system from scratch, most of these features aren't going to be in your immediate future. For a company that needs to add Web access to its existing legacy systems, Version 3.5 Standard Edition is perfectly adequate. But Version 3.5 will not be supported forever. I don't have actual dates handy, but the era of free WebSphere is coming to an end. This caused a bit of a ruckus in the user community (okay, I'll admit that I was one of the main ruckus-raisers), and IBM announced a free alternative, the Tomcat Web application server.

So for now, there is a big preliminary question in your deployment decision: Do you want to go the WebSphere route, which will eventually cost you money but will provide you with the host of services that IBM provides in the Advanced and Enterprise Editions of WebSphere, or do you want to go with Tomcat, which is free and more familiar to the open source user community but not as tightly integrated with the iSeries. Since this column focuses on the WebSphere product line and its offerings, I'll be writing primarily about the various editions of WebSphere, but I also hope to provide some information on the similarities and differences between WebSphere and Tomcat.

There are a lot of topics to cover here as we go forward. In keeping with MCMagOnline's mission to be the most user-oriented online magazine in the market, we're going to try something a little different: We're going to let you help choose the topic for the next column. Below this article, you'll find a poll--use it to vote for the topic you'd most like to see in the next installment of my WebSphere column, and I'll try to accommodate you. I'm from Chicago, so I'd advise you to vote early and vote often. Voting early will allow me time to put together the article you want to see. Voting often...well, I think the polling software is too tricky for that. In any event, I look forward to your input.

Joe Pluta is president of Pluta Brothers Design (www.plutabrothers.com) and the author of E-deployment: The Fastest Path to the Web. You can email Joe at This email address is being protected from spambots. You need JavaScript enabled to view it..

Joe Pluta

Joe Pluta is the founder and chief architect of Pluta Brothers Design, Inc. He has been extending the IBM midrange since the days of the IBM System/3. Joe uses WebSphere extensively, especially as the base for PSC/400, the only product that can move your legacy systems to the Web using simple green-screen commands. He has written several books, including Developing Web 2.0 Applications with EGL for IBM i, E-Deployment: The Fastest Path to the Web, Eclipse: Step by Step, and WDSC: Step by Step. Joe performs onsite mentoring and speaks at user groups around the country. You can reach him at This email address is being protected from spambots. You need JavaScript enabled to view it..


MC Press books written by Joe Pluta available now on the MC Press Bookstore.

Developing Web 2.0 Applications with EGL for IBM i Developing Web 2.0 Applications with EGL for IBM i
Joe Pluta introduces you to EGL Rich UI and IBM’s Rational Developer for the IBM i platform.
List Price $39.95

Now On Sale

WDSC: Step by Step WDSC: Step by Step
Discover incredibly powerful WDSC with this easy-to-understand yet thorough introduction.
List Price $74.95

Now On Sale

Eclipse: Step by Step Eclipse: Step by Step
Quickly get up to speed and productivity using Eclipse.
List Price $59.00

Now On Sale

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: