Home > AS/400 Tips > WebSphere Strategies for iSeries professionals > Modernized applications key to successful e-business
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WEBSPHERE STRATEGIES FOR ISERIES PROFESSIONALS

Modernized applications key to successful e-business


Jim Mason and David Slater
10.18.2001
Rating: -3.67- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Application modernization is extremely important to IBM in the context of its e-business strategy. IBM considers e-business the future of the IT industry. Having a Web-enabled browser interface is a requirement for many new iSeries solutions. Many existing iSeries solutions are good enterprise-ready business applications, but they still have a 5250 green screen interface. In this article, we review some of the key modernization strategies in the iSeries marketplace.

A history lesson
Before the introduction of ILE RPG, most 5250 applications were written as single programs to avoid the performance penalties associated with external calls. The user interface code, the business logic and the database access code were all included in monolithic large RPG/400 programs. This made application modernization a difficult process because the entire application had to be redesigned to make minor modifications to either the user interface or the database.

Application modernization -- An architectural approach
Separating all the user interface logic and the database access logic from the business logic using good modular design concepts is a basic first step in improving the ability for an application to be more easily maintained or modernized. This is also consistent with moving these applications more toward an object-oriented footing.

By updating applications into a modular architected format, developers could more easily change the user interface or the database without making radical changes to the other components of the application. If a developer separates the user interface from the business logic and then moves the business logic into service programs, he has accomplished several objectives, including the following:

  1. The user interface can be updated independently of the business logic.
  2. Other programs and applications can reuse the business logic.

This architectural modernization strategy delivers significant e-business benefits. Now that the business logic is modularized into callable batch programs, WebSphere Studio for iSeries can be used to create a Web interface to this application logic. During the modularization process, the business logic is normally broken down into reuseable modules. This significantly improves the maintainability of the business logic and makes this logic available to both traditional and Web applications. When business logic is accessed via a Web interface created by WebSphere Studio, the cost penalty associated with interactive application execution is also avoided.

There is a degree of isolation of the user interface from the application logic that is inherently part of the iSeries system. The display file DDS describes the format of the 5250 interface and this display file DDS is separate from the business logic of the application. IBM has leveraged/used the Display file DDS to create the Web interface using the WebFacing Tool.

WebFacing -- A shortcut to the Web
Although most architects would agree that IBM should modularize its applications and separate the UI and Database code from the business logic, the world of e-business doesn't wait. The "need for speed" is very important in the Web world. If you can't submit a bid to satisfy a customer requirement because you don't have a browser interface for your application, you need a quick fix.

The WebFacing Tool creates a Web interface to an existing host application quickly, easily and cost effectively. The WebFacing Tool creates the Web interface based on the display file DDS, using standard Java components, JavaServer Pages, Java beans and servlets; there are no proprietary interfaces. These Java components can be customized and enhanced with any Java development tools such as VisualAge for Java, WebSphere Studio or the WebFacing Tool. The same application logic can drive both the 5250 and Web interface ? no dual maintenance. The Java components will run in any application server that supports JSPs, Java beans and servlets, like WebSphere Application Server, Standard Edition or the open source Apache HTTP server with the Tomcat plug-in.

Using the WebFacing Tool is a modernization tactic that appeals to many application developers. The WebFacing Tool is a component of WebSphere Development Studio for iSeries. There is no separate development tool cost. The Java components created by the WebFacing Tool will run in WebSphere Application Server, Standard Edition, a no-charge feature of OS/400. The conversion process is quick and simple. A developer can convert up to 500 5250 screens in a couple of hours and publish them to a WAS unit test environment for review and test.

This is the first release of the WebFacing Tool. Not all of the DDS keywords are supported. The development team has converted about 60% of the DDS keywords representing approximately 90% of the DDS keyword usage. The development team continues to expand the number of DDS keywords that are supported. So iSeries developers have a choice. They can change/revised their applications to use only the supported keywords or they can delay their conversion until the DDS keywords critical to their applications are supported. Please note that some DDS keywords will never be supported because either the usage of the keywords is extremely low or the DDS keywords make no sense on a browser interface.

IBM has several goals for the WebFacing Tool:

  • Increase the DDS keyword support so that most applications can be converted easily with no changes to the DDS.
  • Make it easy to enhance and extend WebFaced applications using WebSphere Studio for iSeries.
  • Convert the WebFacing runtime support so that WebFaced applications run in batch mode and avoid the cost/performance penalties associated with interactive execution.
  • Update the generated Web interface to be able to support wireless devices from WebFaced applications.

How about Windows-based event-driven GUIs?
Some developers like the rich Windows-based event-driven GUIs that were popularized by client/server applications. This GUI is not quite as popular as it was in the past because it features a fat client interface. The fat client has several problems in the Web world. For client/server applications, there are the system management difficulties in trying to manage the code on the clients. When there are only a few client workstations, keeping the clients on the same version and release level of the application is manageable. As the number of clients and the number of supported client operating systems expands, the system management issues become daunting.

The system management issues can be addressed by providing the Windows GUI as an applet that is downloaded from the server into the browser interface. That means that there is only one version of the client interface to maintain. However, this solution forces the user to download a fat client GUI to execute the application. This can result in unacceptable performance if the user is operating with a standard modem connection to the server. This option should not be dismissed, however. If the developer minimizes the size of the applets (i.e. puts most of the logic on the server), and the user is connected over a high-speed cable modem connection, this e-business option offers a rich GUI option for users in a B2B world.

VisualAge RPG allows users to create rich event-driven Windows-based GUI applications using the RPG IV language that is used for ILE RPG. Because the same language is used on both the client and the server, RPG developers cut and paste business logic between the client and the server. That makes it easy for VisualAge RPG developers to minimize the logic on the user interface. There are several capabilities in VisualAge RPG that increases its usefulness for e-business development, such as the following:

  1. You can generate Java applications or Java applets from VisualAge RPG source.
  2. You can create batch RPG applications with no user interface with VisualAge RPG.

By generating Java applications, the user interface can be executed on any client that supports a JVM -- and every strategic client has JVM support.

If developers update and modularize their RPG applications, the business logic is put into service programs. These service programs can be moved into VisualAge RPG and then Java applications can be generated from the RPG source. That would allow you to convert RPG application logic to Java and run it on any server with a Java Virtual Machine. It could drastically increase the number of deployment platforms available for RPG solutions.

What about VisualAge for Java?
If e-business is the future of the IT industry and Java is the language of e-business, why isn't VisualAge for Java the premier legacy modernization tool?

VisualAge for Java is the tool of choice for writing new, portable, object-oriented e-business applications. You can use VisualAge for Java to move legacy solutions to an e-business footing in two ways.

  1. You can choose to rewrite your solution in Java. This may be an option for some critical applications that need cross-platform execution. However, this is very expensive from both time and resources and is not a viable business proposition in many cases. It usually violates the Web imperative "The need for speed!"
  2. You can put a Java interface to your existing applications. This was a very popular option in the initial days of e-business. To use this approach, you must first re-architect your application to separate the UI logic from the business and database logic. This is typically not a simple first step. Also, these Java front ends are typically fat. The Java interface either must be served up as the client in a client/server solution or downloaded as an applet. The concerns with these types of e-business implementations have already been covered in the section titled "How about Windows-based, event-driven GUIs?" If you have separated you UI logic from the rest of your application, you can access your existing business logic using WebSphere Studio (as outlined in the section Application Modernization ? An Architectural Approach) The learning curve associated with this product is smaller that of VisualAge for Java.

Although VisualAge for Java fulfills an important e-business development role, it is not a key tool for legacy application modernization.

Web Services in the iSeries market
Web Services supports is a key capability that is being delivered along with the new Eclipse Integrated Development Environment in the next release of WebSphere Development Studio for iSeries. This new support will allow developers to easily consume and construct Web services. Developers can browse the UDDI registry, a "yellow pages" of Web services, to locate existing, published Web services. They will be able to generate a JavaBean Proxy to use these Web services in their application solutions.

Developers will also be able to create Web services using existing applications and data. Wizards will be provided to wrapper existing iSeries programs as Java beans. Developers will then be able to create new Web services using these JavaBeans or using existing databases. Developers will be able to deploy these Web services to WebSphere Application Server or Tomcat for testing with the built-in test client. Developers can then publish these newly created Web services to the UDDI registry.

Web Services offers a new modernization strategy for legacy applications. It has the potential to rapidly expand the development and deployment of new e-business applications and will allow developers to assemble new solutions from available (from UDDI) Web services. The base of these Web services will be a combination of existing legacy applications and new application components.

This is a dramatic enhancement to the concept of creating/assembling solutions from components -- a new component assembly model. The Web Services model may revolutionize the way companies integrate their IT solutions in the business to business marketplace.

--------------------------
About the authors: Jim Mason is president of Cape Cod Bay Systems, and he writes, consults, teaches, designs and develops AS/400 Web applications using Java, WebSphere, DB2, Lotus Domino and the WebSphere Development Tools for AS/400. Dave Slater is World Wide Market Manager of AS/400 Application Development at IBM Canada.

================================
FREE EXPERT ADVICE
================================

Do you have questions about WebSphere and Web development? Post it in our new WebSphere/Web Development Discussion Forum. Here you'll get advice from our site experts who monitor the forum, as well as ideas and suggestions from other search400 members.

You may also read the Web development advice our experts have given in our Ask the Expert section.

================================
MORE INFORMATION ON THIS TOPIC
================================

Best Web Links on Web Development

Featured Topic: Web Development

Have a WebSphere tip of your own? Send it in. You could win a great prize.


Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Web Tools
Putting data from IBM i on Amazon S3 using i2S3
TAATOOL: Useful tools for programmers on IBM i
Programming for the Web on the IBM i, what is possible
Zend Web software teams up with IBM System i
Using geocoding on AS/400 to enhance your Web presence
The iSeries Blog has a new home on IT Knowledge Exchange
The best technologies and tools for System i programmers in 2009
Search400.com Products of the Year 2008
Application modernization strategies for System i
Natively supported Web applications for Power running i

Web Development
Implementing a browser interface in COBOL: Creating your graphic Web page
Implementing a browser interface in COBOL: Getting started
IBM i shop boosts online sales with RPG-based Web platform
Migrating from RPG to EGL on IBM i
Groovy programming on IBM i
Running PHP open source applications: NOBODY needs authority
Zend Web software teams up with IBM System i
The best technologies and tools for System i programmers in 2009
Seven IBM i project lessons learned in 2008
AS/400 lessons from the past, present, and future: A holiday tale

Web Servers
System i no longer the stepchild of IBM's world
Connecting WebSphere to AS/400 for image retrieval
Weaving in WebSphere
SOA enhancements drive IBM WebSphere feature packs
SOA means money for IT workers
Enable J2EE app on WAS to access DB2
Securing Apache: Keeping patches current
IBM runs USOpen.org on Power boxes
MoMA's IT makeover a mix of old and new
How does RPG talk to a browser?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
WebSphere Development Studio Client (WDSC)  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2010, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts