In this particular case, there is one, and only one system API I need access to.  I have a Java servlet that needs to call this system API, which is written in C (I presume).  Could I write the wrapper in RPG and then use cgi to get access to it?  Perhaps. This started out with a simple need: Call this one API from the Java servlet that needs it.  It just ended up being more complex than I had anticipated.

Had the whole thing been an RPG solution, I would have taken a different approach.  Maybe I still will.  If you have an example of exposing a system API as a REST service, let me know.  REST services are easy to call from Java.

Pete Helgren
GIAC Secure Software Programmer-Java
AWS Certified Cloud Practitioner
Microsoft Certified: Azure Fundamentals
Twitter - Sys_i_Geek IBM_i_Geek

On 10/8/2021 9:47 AM, Alan Campin wrote:
Just curious, with the coming of Rest Services and how simple it makes
executing logic on the IBM i, is PCML obsolete? Why would you use PCML over
using a Rest Service?

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-2022 by 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.