I've seen alot of e-mails come across lately about "Embedded Java", and I
was curious if anyone has had any success of having Java Servlets (or JSPs)
call RPG, or CL, programs.  Or even Service Programs.

The reason I am asking is that we are contemplating of how we are going to
re-write our internet software.  Currently, it is so 'Old-School', by this
I mean very 'Old-School'.  We currently have Net.Data, that calls REXX,
that calls CLs, that call RPGs..  With Parameters, and very large data
structures fields, being passed and parsed through-out that stream.  This
may be OK, sound, (I guess).  But you'd truely have to look at the code to
really appreciate the current RPG CGI-APIs and Net.Data enhancements. This
may have been a good idea in the 90's, but the code is so non-re-usable,
and old, that it is impossible

So, which out having to re-write our entire business logic, from RPG to
JAVA, we were simply going to have a Servlets, (or JSPs) call our
Business-Logic RPGs.. So, this is our plan.  For right now.  It's not our
final final, but it is a start.


Also, my e-rpg question, is if I have Servlet that call an RPG program, is
it possible to have that RPG program use the @WrtStOut API to write to the
browser, like I would using e-rpg, or Net.Data?

Thanks and Happy holidays.
dav

David L. Mosley, Jr.
Systems Analyst
2000 CentreGreen Way
Suite 250
Cary, NC 27513





This thread ...


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

This mailing list archive is Copyright 1997-2026 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.