|
How are you calling the RPG program? Is your servlet on the same machine (AS/400) as the program? If you are using the AS/400 Toolbox for Java to call the program make sure the Toolbox jar you use is optimized (CRTJVAPGM). David Wall AS/400 Toolbox for Java tmalin@hannasteel.com on 08/23/2000 03:54:06 PM Please respond to JAVA400-L@midrange.com To: JAVA400-L@midrange.com cc: Subject: Call RPG Program from Java Servlet I wrote a java servlet to populate an HTML table with AS/400 data. I am using two methods SQL prepared statement to return a result set and one method to call an RPG program to return a date from parameters passed to the RPG program. I am calling the RPG from inside a loop to get the data for a cell in the HTML table for each row in the resultset. It works , but it is extremely SLOW... Anybody have any tips or solutions to this. Thanks in advance. Tom +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +--- +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
As an Amazon Associate we earn from qualifying purchases.
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.