28
Sat, Dec
0 New Articles

WebSphere and iSeries Together

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

The question "Why should I run WebSphere Application Server on my iSeries?" often comes up. This is an understandable question, but it's far more complex than it appears to be. It is really several questions. Why should I use WAS? Why should I use the iSeries? Even if I want to use WAS and the iSeries, why do I want to use them together? This gets even more complicated when you consider the different versions of WAS, the different iSeries models, and the different bundles of hardware and software. Many great white papers, Redbooks, and presentations answer parts of those questions.

In this article, I will give you a first look at why WAS makes good business and technical sense running on the iSeries. I'll give you an overview of WAS 5.0 and discuss the following topics:

WebSphere Application Server (WAS) 5.0 Overview

WAS is IBM's offering based on the J2EE standard for application servers. Three versions of WAS are available on the iSeries platform. The first is WAS Express, a low-cost, entry-level version of WAS. The second, WAS Base, is a fully J2EE 1.3-compliant application server that includes Enterprise Java Beans (EJBs) and Java Messaging Service (JMS). The third, WAS Network Deploy, is a superset of Base functions. The major addition to the Base function is the Deployment Manager, which allows customers to run their applications in a scalable environment, potentially consisting of multiple servers and multiple physical nodes. These three products cover the range of partners on iSeries from small to large, and there is a wealth of great information on these products available on the Web. For information gathering, start here:

WebSphere Application Server (WAS) Technologies

WAS incorporates many technologies. Below is a sample of these technologies, with a short description. J2EE encompasses most of these technologies. As newer versions of the J2EE standard are created, WAS will be enhanced to support these standards.

J2EE 1.3 EJB 2.0 Local Interfaces

In the EJB 2.0, standard local interfaces were introduced. This mechanism, defined in the EJB 2.0 specification, enables components in the same container to bypass Remote Method Invocation (RMI) and call each other's methods directly. In general, local interface calls are faster than traditional remote (RMI) calls. The use of local interfaces does limit the code because the Bean and client must run in the same container. EJB 2.0 offers both local and remote interfaces, but the choice is not transparent to the client and will be reflected in the client code.

J2EE 1.3 EJB 2.0 Container Managed Persistence (CMP)

In EJB 1.1, persistence data was defined by the Bean's instance variables. In EJB 2.0, it is up to the container to implement the concrete persistence model. The developer of the Bean need only define the accessor abstract method. With the new CMP, the underlying persistence store and the CMP Beans are independent of each other.

J2EE 1.3 Web Components

The two major components of J2EE Web Components are servlet 2.3 and JSP 1.2. New features available with servlet 2.3 include servlet filtering, application lifecycle listeners and events, enhanced internationalization support, and API changes. One of the major additions was servlet filters. All filters implement javax.filter.filter. Filters can be used to intercept a request before it reaches a servlet, modify the response after the servlet has processed the request and before the client receives the response, or send the response directly without sending to the next filter or the servlet. One major negative of using filters is that if any filter fails, the request is not completed. JSP 1.2's new and enhanced features include new classes for tag library validation, new tag support for iteration, tag library support for application lifecycle events, and tag library lifecycle enhancements. The most important change for the JSP1.2 spec is the ability to encode the JSP in pure XML format, so every tool that is capable of editing XML can now be used with JSPs.

J2EE 1.3 Message-Driven Beans (MDBs)

MDBs are a standard way to create a message receiver that is managed by the container. This allows the MDB writer to concentrate on processing and parsing the message. MDBs make it easier to separate message and business logic, allowing some other EJB to implement the business logic.

WAS 5.0 Java Message Service (JMS) Administration

WAS 4.0 JMS support requires the separate installation of a messaging product such as MQSeries. WAS 5.0 Base and Network Deploy ship with an embedded and integrated JMS provider.

Java Management Extensions (JMX)

JMX is a framework that provides a standard way of exposing Java resources to a systems management infrastructure. There are three main layers of JMX. The first, the instrumentation layer, defines how resources can be wrappered in Management Beans, a special type of JavaBean. The second is the agent layer, which implements event notification and monitoring. The third is the distributed services layer. It defines how external management applications can interact with the underlying layers.

Workload Management (WLM)

Workload management optimizes the distribution of client processing requests across multiple instances of WAS Network Deploy. WLM also provides failover when servers are not available. With WAS Network Deploy, WLM can be combined with clusters of application servers to provide a balanced high availability workload environment.

Security

The many different levels of security in WAS--including Web components, WebSphere security, Java security, and platform security (OS/400)--have been enhanced in V5. New features in WAS 5.0 include J2EE 1.3 security compliance, Java 2 platform security, Java Authentication and Authorization Service (JAAS) programming model support (which provides a means for restricting the running of code based on authentication of the user), and support for CSLv2 security protocol (which provides interoperability between different solution providers' application servers). WebSphere Security Administration now supports multiple security roles and naming security with all security configuration handled by the administration console Security Center.

Performance

Enhanced performance was a major consideration in the development of the entire line of WAS 5.0. Two of the technical specifications that brought the most performance benefit are JDK 1.3.1 and EJB 2.0. Other enhancements for performance include dynamic cache improvements, new Performance Monitoring Infrastructure (PMI) features, and Tivoli Performance Viewer (not available in WAS Express). The release of WAS Express 5.0 tuned and priced for the small-to-medium business (SMB) market showed that WebSphere can scale down as well as up.

WebSphere Application Server on iSeries Differences

Before I discuss how WAS is different on iSeries, you should know that, in some ways, WAS on iSeries behaves just like WAS on all other platforms. Applications will function the same and are 100% portable, assuming that you do not have platform-specific code in your application. However, there are also some important distinctions. The following is just a subset of the differences between distributed-platform WAS and WAS for iSeries. Most of these differences are due to integration with OS/400.

Supported HTTP Servers

WAS 5.0 for iSeries supports two HTTP servers: IBM HTTP server for iSeries (Apache-based on 2.0.43) and Lotus Domino Web Server (V5 or higher, V6.0.2 or higher). The IBM HTTP server for iSeries is integrated into OS/400. You can access it by typing STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN) on your green-screen or by starting the job through iSeries Navigator and then going to http://:2001. As of October 2003, support for limited administration of Base instances will be added to the IBM HTTP Server administrative pages. It will have the same type of support as is offered for WAS Express today.

WebSphere MQ

Unlike the distributed platforms, WAS for iSeries Base and Network Deploy bundle the complete WebSphere MQ product. WebSphere MQ is licensed for use with WAS only.

iSeries-Specific Scripts

The iSeries offers iSeries-specific scripts for use with WAS based on the version. These can be accessed in the IFS through Qshell in the bin directory of the application server. Here are just a few of these scripts:

  • Checkprereqs--The check prerequisites tool is used to validate that WAS for iSeries prereqs are met (available in group PTF for 5.0.2 and higher).
  • Crtwasinst--The create WAS instance is roughly equivalent to wsinstance on distributed platforms.
  • Dspwasinst--This script displays information about an instance, such as the ports used by the instance, type of instance, applications installed, state of server (started/stopped), etc.

WAS Coexistence

Because of different install directories, WAS for iSeries can coexist with other editions and versions of WAS. Version 5.0 can coexist with all previous versions of WAS. Version 5.0 Base, Network Deploy, and Express can all coexist. This is accomplished by changing the ports used by the different application server. This topic is covered in the initial installation and configuration documentation.

iSeries JVM

There are several differences with the Java Virtual Machine (JVM) on the iSeries. First is the fact that the iSeries has its own JVM that was developed by the iSeries team. It is integrated into the low levels of OS/400, has enhanced garbage collection, and is based on Sun reference implementation. On the iSeries, Java code can be transformed from Java byte code to native executables called "Java executables" or "JVAPGM" objects. When transformed, an optimization level is specified. The values are 10, 20, 30, and 40 where 40 is the most optimized. Just In Time (JIT) can also be used. As Java matures, JIT performance is approaching that of Java executables. Like other platforms, WAS 5.0 requires JDK 1.3.1. The native start/stop code enforces this and will exit if the correct level is not installed.

Tracing

For problem determination and debug, tracing has remained unchanged from the previous version. WebSphere Development Studio Client (WDSc) for iSeries debugger and tooling can be used with WAS for iSeries as can iSeries native debugger.

PTFs

The iSeries takes fix packs for multiplatform and turns them into group PTFs like iSeries developers expect.

Subcapacity Pricing

On the iSeries, WAS has unique software pricing. iSeries machines that are multiprocessor can take advantage of subcapacity pricing. Subcapacity pricing allows these products that are priced on a per-processor basis to be priced at less than the full capacity of the iSeries machine when logical partitioning (LPAR) is used.

Out-of-the-Box Application

IBM Telephone Directory Version 5.1 for iSeries ships with WAS Express Version 5.0 for iSeries. It is similar to IBM's internal Blue Pages application, which IBM employees use every day. This application is provided at no cost for up to 1,000 employee records as part of the effort to give out-of-the-box value for WAS Express Version 5.0

iSeries WAS Development

A final and very important difference for the iSeries version of WebSphere is WebSphere Development Studio Client for iSeries (WDSc). It is an enhanced development environment with additional functions and wizards just for the iSeries. There are two versions of this tool. The first is based off of WebSphere Studio Site Developer, and the more advanced version is based off of WebSphere Development Studio Application Developer.

Why WebSphere Application Server (WAS) Makes Good Sense on iSeries

I am sure you have heard the "Why iSeries?" argument before and the "Why WebSphere?" speech at least a few times. So why run WebSphere on iSeries? For the benefits of both, of course. The iSeries--unlike other systems--comes with fully integrated security at the object level and DB2 built into the operating system. It is part of OS/400, and its security meets U.S. Department of Defense C2 specifications. Here is something that cannot be said enough: No iSeries has ever been infected with a virus. iSeries hardware starts in the SMB market and can grow as big as your business needs require. Integration, security, reliability, and scalability are the combined reasons for WebSphere on iSeries.

WAS and iSeries are both points of current and future focus for IBM. They both fit into the SMB space that is so important to the industry today. The iSeries has been rebuilt and enhanced with new technologies as they emerge, producing an extremely reliable integrated platform that is a perfect fit for one of the latest technologies, WebSphere. Together, they can deliver for your business.

Michael Sandberg is a member of the IBM eServer Solutions Enablement team located in Rochester, Minnesota, and works to help IBM solution developers integrate new iSeries technologies into their programming environments. These technologies include WebSphere Application Server, WebSphere Portal, WebSphere Development Studio Client, Host Access Transformation Services, iSeries Access for Web, and IBM WebFacing Tool.

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: