Tom Malia wrote:I'm developing a web application that is used to read data from an Access database that is used for a commercial product. The commercial product is not the web app I'm trying to right. Its a program that manages registration and timing for races. My web app is just going to read the data from the database that program creates and updates so that it can make that information available to participants and spectators at the race. Think of like a Swim meet or a track meet.... so there's software for registering the races, scheduling the race and tracking the times. My web app lets a user pick the particular race database that the user wants to effectively "broadcast" to the attendies model devices.
The commercial product lets the user create new databases any time and lets the user put them any where.
I want my web application to have some configuration/setup pages where an administrator user can go and define the location of the particular Access database file that should be the source database for the Web Application.
: In this case actually production setup means exactly that the number of possible database are infinite and the location are unknown. The user of the Race management software can create any new databases they want, anywhere they want. Think of it like someone going into Excel and just creating an new workbook (xls) file. The one significant difference from the Excel example is that the race management program always creates databases with the exact same schema structure which is why I can reliably connect to any database it creates and know I can read it.Also, production setups usually mean that those databases are not infinite and going to come from unknown sources.
:Yep... that's pretty much right.So that would imply the process of downloading and installing both Tomcat and your web application.
E Armitage wrote:But the method is there in the API http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/tomcat/jdbc/pool/DataSourceProxy.html#setPoolProperties(org.apache.tomcat.jdbc.pool.PoolConfiguration)
Is that the exact code you are using or are you perhaps using javax.sql.DataSource?
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
|