Newsletters Subscriptions Media Kit About Us Contact Search Home

Stuff
OS/400 Edition
Volume 3, Number 33 -- August 26, 2003

CrossWorks New 'IRE' to Assist in RPG-to-Java Translation


by Alex Woodie

RPG migration experts CrossWorks is developing an "integrated re-engineering environment" for managing RPG-to-Java conversion projects, the company announced this month. The company's new product, Cross2Java IRE, will contain a set of tools for analyzing RPG applications, editing source code, testing the new application, hooking it up to a database, and packaging or deploying the converted application. CrossWorks is in talks with several providers of RPG-to-Java translators, and plans to bundle a translator with the Cross2Java IRE when it ships.

Without well-documented RPG source code to work from, an RPG migration project faces significant hurdles right off the bat. Whether the migration project involves moving RPG applications to Windows or Unix boxes (which has been CrossWorks' specialty for years, with its Cross400 and Cross36 series of migration tools and compilers) or converting RPG to a new language, such as Java, having a clear understanding of what the RPG application does and how it works is crucial to making it portable.

"There's some real good RPG code out there, well-written and carried out well in its final phase," says Jon Richter, CrossWorks vice president of business development. "And then there's everything else. We found, in the Cross36 and Cross400 days, that one out of every two RPG applications had a fair amount of work that needed to be done to clean up the code. That's what we're going after with Cross2Java IRE."

CrossWorks designed Cross2Java IRE to be a set of tools for managing a legacy transformation from beginning to end. The software, which was written in Java and features a GUI, was developed specifically to work with RPG applications running on the iSeries. The different components in the suite include Application Harvester, RPG-to-Java Translation Launcher, Analysis Suite, Source Editor, Source Exporter, Database Migration, Deployment Facility, and Testing Facility.

While the product was designed as an end-to-end solution, much effort was put into developing the analysis component, because poorly understood code can make or break a migration.

"There's a serious need to understand the application before you do anything with it," Richter says. "Our belief is that you need to analyze the application, mine the data, look for patterns, understand the business logic, and understand the RPG constructs that may not lend themselves to an efficient Java translation. Once it's in Java, can a person look at it, enhance it, add to it? And does it perform? Once it's in its Java form, does it have functionality that's at least equal to the RPG?"

The Analysis Suite component of Cross2Java IRE looks at many aspects of the RPG source code and includes a cross-reference tool that identifies file input/output usage and calls trees. The Analysis Suite looks for non-translatable constructs, for code abnormalities and performance-impeding constructs, as well as referential integrity check logic and embedded SQL. The Analysis Suite generates a series of reports that will give users a better idea of what they're facing in their RPG-to-Java translation project and what parts of their RPG code they'll need to clean up before sending them off to the translator.

Richter says some people have the misconception that RPG-to-Java translators are "a great big funnel [where you] dump your application in, it grinds through translation, and it produces wonderful Java code." "Our argument is, 'Garbage in, garbage out.' "

Some RPG code just doesn't translate well to Java. That's where it pays to be smart about the process. "In RPG, you'll use 'GOTO.' But there's no equivalent in Java. Do you want to write some funky Java code to replace that, or do you want to analyze it and produce a better Java version?"

CrossWorks is in the final stages of negotiations with several prominent providers of RPG-to-Java translators, and it expects to have deals signed with one or more of them next month. Cross2Java IRE Version 1.0 is still several months away and may be delivered by the end of the year, Richter says. The company will be targeting tier-two independent software vendors and large corporations that developed their own RPG applications.

Once Cross2Java IRE Version 1.0 ships, the company plans to support two Java environments: IBM's WebSphere Application Server and the open-source JBoss Application Server. Richter also says the software will interoperate with Eclipse, IBM's framework for cross-platform Java application development.

For more information, check out CrossWorks' new Web site, which was also launched this month, at www.cross-works.com.

This article originally misspelled the name of Jon Richter, CrossWorks' vice president of business development. The error has been corrected. Guild Companies regrets the error. [Change made 8/27/03.]


Sponsored By
TRAILBLAZER SYSTEMS

ZMOD Exchange EDI-INT connects you to all your trading partners.

Wal-Mart, UCCnet, Meijer, Lowe's, Food Lion, Dollar General, Ace Hardware, Target, The Home Depot, Linens 'n Things, Michael's Arts & Crafts, Do It Best, Menard's, Aafes, and more. They all have learned how easy and secure it is to make EDI connections directly on the AS/400.

ZMOD Exchange EDI-INT was written in C and C++, specifically for the AS/400, to provide the highest efficiency, speed and easiest implementation. It fits right into your environment. Unlike other EDI-INT solutions, ZMOD allows you to run secure EDI-INT transacting in your existing network infrastructure without putting private keys and unencrypted data in your DMZ. You save money and configuration time by reducing the need to rework your network or write bridging processes.

With ZMOD Exchange, your EDI-INT transacting can take place securely in your LAN right next to the EDI translator. Security is ensured since no data or keys are accessible by intruders. TrailBlazer Systems went the extra distance by writing its own clients and servers for EDI-INT transacting. What does that mean for you? It means our EDI-INT server can run wherever you want, like behind your firewall. However, for those who wish to stop incoming transactions in their DMZ, ZMOD comes with an AS2 server for your DMZ that only stores encrypted AS2 transactions. Those transactions can either be retrieved by or redirected to your EDI-INT software in your LAN.

ZMOD Exchange EDI-INT comes with a suite of AS/400 based E-Commerce tools.

ZMOD Exchange EDI-INT:
· Run your EDI-INT directly on the AS/400
· Secure transactions behind the firewall for ultimate security
· Eliminate network changes by using firewall navigation tools
· Integrate transactions directly with any EDI translator
· Support AS1, AS2 and UCCnet requirements

For more information, visit us at www.trailblazersystems.com/ms


THIS ISSUE
SPONSORED BY:

Damon Technologies
Trailblazer Systems
FAST400
BCD Int'l
RJS Software Systems
CMS Manufacturing Systems


BACK ISSUES

TABLE OF
CONTENTS
In Search of Refunds: Pfasthip Tracks Late UPS, FedEx Deliveries

CrossWorks New 'IRE' to Assist in RPG-to-Java Translation

Johnny Cat Maker Finds Reason to Purr with AS2 Link to Wal-Mart

IBM Adds Intelligent Routing, Ease-of-Use Features to Infoprint Server

DSS Enables Member-Level Auditing with Release of Auditron400 V3

News Briefs and Product Shorts


Editor
Alex Woodie

Managing Editor
Shannon Pastore

Contributing Editors:
Dan Burger
Joe Hertvik
Shannon O'Donnell
Timothy Prickett Morgan

Publisher and
Advertising Director:

Jenny Thomas

Advertising Sales Representative
Kim Reed

Contact the Editors
Do you have a gripe, inside dope or an opinion?
Email the editors:
editors@itjungle.com


Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.