Initialising objects when server starts up
Hi,Is there some area where we can put code so that it gets executed when the server starts up?In our case, we wish to load some settings from a database and then save them to the application bean.Thanks,Tristan
[246 byte] By [
aperson] at [2007-11-26 11:51:38]

# 1
if you put the code in the init() section of ApplicationBean1, the code is called the first time that a page accesses a property in the application bean. This should handle most needs. Do you need the code to be executed as soon as the server starts the app, or is the first property access good enough?