|
Mike, The most common way of exposing a Java service running as a Web application server is as a Web service. Setting up a Web service isn't too hard if you already have the application server running. I wrote an article about this a while back that might help: http://www.midrangeserver.com/mpo/mpo021303-story01.html. To get it to run at a scheduled time modify the demo client to access your service and make it a shell script that you run from the job scheduler using the qsh command. David Morris >>> Mike.Burdette@xxxxxxxxxxxxx 7/13/2004 9:56:26 AM >>> I need to call a Java PGM on the first of every month. I am a Java Web developer, but have written this as a Java application, as opposed to a servlet. I have been running it from WDSC-i but need to move it to the iSeries and have it run unattended on a scheduled basis. What is the best way to do this? I have not had much success in running a Java app on the iSeries using the RUNJVA command, my biggest issue being setting the CLASSPATH. But if using the RUNJVA command in a CL and putting it in the job scheduler is the best practice, I will work through it. Since my expertise lies in servlet programming, I would prefer to make this a web application. What is the best way to fire a servlet at a specified time? Thanks Mike Burdette
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.