Question

I have been given the task of modernizing my company's I5 based point of sale system. The main push is to create a friendlier interface/better data views without losing business logic.

Is there a good Java way of interacting with an interactive (non-command line) I5 program? Something alone the lines of what PHP provides with their 5250 Bridge? I'm considering using he 5250 bridge, but I'd prefer a Java base solution.

Thanks!

Was it helpful?

Solution

Assuming that the interactive part of the application is separable ... Why not use the Toolbox for Java to call the underlying programs directly and create a remote GUI? You can call APIs, PGMs, and CL commands remotely from Java.

OTHER TIPS

The IBM Developer Kit for Java allows you to run Java code on the iSeries.

You can call Java code directly from RPG/COBOL programs using the JNI interface. Here's an article describing how to call Java from an RPG program.

You are looking for the ProgramCall class in the IBM Java Toolbox. This will allow you to call any given program but you need some elbow grease to get the parameters right etc. Here it is a benefit to get the I5 compilers to create PCML files which can be used to create the ProgramCall arguments automatically. We have 1ms tourn around time for such a call from a PC.

Note: QTEMP is not available unless you do serious voodoo.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top