We have a batch RPG job that calls a Java class which interfaces into
our Enterprise Workflow web service and it seems to work fine and it's
fast after initial startup.
The only drawback is you need some familiarity with Java, RPG and how
they work together :-)
Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Email: richard@xxxxxxxxxxxxxxx
Web Site:
http://www.rjssoftware.com
Tel: (952) 898-3038
Fax: (952) 898-1781
Toll Free: (888) RJSSOFT
-----Original Message-----
------------------------------
message: 4
date: Thu, 06 Mar 2008 15:00:00 -0600
from: David Gibbs <david@xxxxxxxxxxxx>
subject: Re: Call Java program from RPGLE
Thorbj?rn Ravn Andersen wrote:
As a curious byseer, is there any who have worked with this who can
say
how well it works in terms of speed, maintainability (how fragile is
this?) and general usefulness?
I've used it, but don't recommend it.
The cost of starting up a JVM is very high. Plus only one JVM can be
started per job ... and I think there are significant issues if you need
a different classpath used (not 100% sure about that though).
Personally, I prefer to run a server in a batch subsystem (or on a PC)
that stands ready to answer requests sent to it via a data queue.
I've got a really nice system setup that uses externally described data
structures, keyed data queues, and the RecordFormat object in JT400, to
pass structured bulk information between RPG programs and Java code.
david
As an Amazon Associate we earn from qualifying purchases.