|
Joe Pluta skrev den 05-06-2008 22:14:Which is why I say create a single connection at the beginning of the session and use it throughout. You need connection pooling when you have a stateless architecture that requires reconnection for every request.
and now we're back to my architecture. In fact, with servlets, we just use the toolbox to create a connectin, and the job we use is the QZRCSRVS job.Just for the record. Initiating AS400 objects even when connecting to the local system is an expensive operation, hence the connection pooling stuff in the toolbox. I have only played with it but it appears that invocation times around 1 ms are possible.
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.