tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mr Peter Santos <p_msan...@yahoo.com>
Subject re:What is most efficient way to bind db configuration data to an app context
Date Tue, 30 Sep 2003 18:32:12 GMT
Hi,
I'm building an application that uses some
configuration data in database tables.
My servlet/jsps will use this data to populate 
drop-down lists, radio button etc.

I'm trying to avoid making a database connection
everytime a user visits a page with config data.  
My goal is to load all config data from the database
when the application comes up (tomcat), then reference
the config data through some method without having to 
make db calls...
(I'm planning on use connection pooling to avoid the
cost of creating new connections)
  
What is the most efficient way of binding this
configuration data to an application? and is this
possible?

I'd also like to have an "admin" page where an
administrator can change the config, and have the
changes show up on my drop-down lists immediately.

I'd like to do it without bouncing tomcat if possible.
Any suggestions would be appreciated.
Peter


 

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

Mime
View raw message