|
Since our own Java-client products predate the Toolbox, and the one bit of server-side Java I've written is simple enough that the ILE RPG program that calls it just shells out a JAVA command through QCMDEXC call, I've still never had a reason to use the Toolbox. (The reliance on Host Servers, which we don't use much around here, didn't exactly help matters). So if it seems like I don't know scat about the Toolbox, it's because I don't. Please be patient with me as I relieve my ignorance. Question: Is there a way (preferably going through Native Optimizations/Record Level Access, rather than through a Host Servers socket connection) to have a Java program go to sleep until either a new record appears in a database, or a timer runs out, whichever comes first? Sort of the way an ILE call to the "select()" API can wait on one or more sockets and a timer, or an ILE C "deq()" or a QRCVDTAQ waits on various types of OS/400-native queues? -- JHHL
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.