× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.