× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi:

Could anyone point me to a basic, straightforward tutorial about the best practice for setting up a connection pool with JDBC in a web application? I am re-writing a seven year old web app and would like to use the latest and best-practice approach. I have set up a test/development environment on my laptop using Eclipse, Tomcat and MySQL. The app will be deployed to a WAS 5.1 Express environment running on an iSeries and accessing data via VPN on other iSeries (DB2). I would like to write the code so that it can be used in my test environment and easily promoted to the production environment, if possible.

Also, is JNDI required for an application such as described above? What would be the benefits of using it, or what would you loose by not using it? If it is desired in a best-practice approach, could you provide a tutorial on how you might set that up and access it in my test and production environments?

Sorry for a question of such a broad scope.

Thanks in advance for any tips!

Mike



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.