× 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.



Thanks for the post.

Does CommandGate allow calls to feed response data back to the caller ?

Your command gate component looks interesting, but it adds another layer to worry about because it requires Tomcat or some other app server container, correct ?

My goal is to be able to create CL commands that don't necessarily require RPG, but simply call a simple fall thru Java program to do some action such as process a PDF with iText, Read/Write XML, etc and allow parameters to be sent back from the Java CPP to the command so that the CL commands are embeddable in a standard CL job stream and can return parms via the CL command wrapper.

An interesting by-product from my testing and using JT400 was the simple ability to run a job on a remote system and bring back response data without any special remote system setup. JT400 rocks for inter-system IBMi communications and can now be used to easily perform inter-system program calls without a lot of work.

The secondary goal is to possibly move some RPG developers forward who may have been previously afraid to touch Java. As you know it's not that hard to use. It just gets roughed up a lot :)

In today's world with the faster JVMs available and installed natively, there's no reason not to consider Java to build command processing programs that use the JVM directly.

With my approach an RPG developer will hopefully be able to be writing Java based fully callable/embeddable CL commands within a few hours without any system setup beyond building a little CL program and placing a small Java class in the appropriate IFS folder.

If they want, they can even edit and compile from the green screen. Not that I recommend that, but it is possible :)

Regards,

Richard Schoen | Director of Document Management Technologies, HelpSystems
T: + 1 952-486-6802
RJS Software Systems | A Division of HelpSystems
richard.schoen@xxxxxxxxxxxxxxx<mailto:richard.schoen@xxxxxxxxxxxxxxx>
www.rjssoftware.com<http://www.rjssoftware.com/>

---------------------------------------------------------
Richard,

for your presentation: be sure to have a look to CommandGate (it's open
source) it provides a command RUNJAVARUN running java<http://archive.midrange.com/rpg400-l/201502/msg00012.html> from CL much faster
(typically more than 10 times faster!!!) with much better scalability (only
one prestarted JVM<http://archive.midrange.com/rpg400-l/201502/msg00012.html> for multiple users)

Dieter

ps: if you need any assistance for installing and using CommandGate, feel
free to drop me a mail

_______________


Confidentiality Notice: This e-mail, including attachments, may include confidential and/or proprietary information, and may be used only by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately.

________________

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.