Say I have an object I want to make available server-wide, and instantiated when tomcat starts up... How would I do this?
I have a hash of numbers to strings that is in a database, I'd like to load the values from the DB and make it available to all jsps and servlets so I don't have to hit the DB all the time.
I have a hash of numbers to strings that is in a database, I'd like to load the values from the DB and make it available to all jsps and servlets so I don't have to hit the DB all the time.