I want build/buy an object that is accessible from a Web site. I would want this object to call a CL program that...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
outputs to a spool file as a PDF, and then launches the PDF for display on the originating Web site. In other words, a user on site XYZ pushes a button that accesses an OS/400 CL that runs a program that outputs to a PDF and then launches. Is such a thing available for purchase? If I were to build it, would/could I use a JSP?
You have several options here. For a customer project we worked on, I used an open-source tool called itext.pdf to generate the PDF from an iSeries spool file on the fly. You can also use the lower-level Formatting Objects library from apache directly and some IBM sample classes that access the library. That's a lot more work with a lot less features.
Dig Deeper on Web-enabling
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.