Re: Hibernate data at startup

2005-09-30 Thread Joe Germuska
Note that if you are running in a clustered environment (or want to be ready to move to one without rewriting your application) this is not a good solution. The ServletContext is specifically not to be shared amongst clustered interests according to the specifications. This is particularly a p

Re: Hibernate data at startup

2005-09-29 Thread Nick Heudecker
You have a few options. To initialize Spring, you can either use the Struts plugin or the web app context listener. Once that's done you can either use a startup servlet or a Struts plugin to load the data and put it into the servlet context. That way it only needs to be loaded once and is shared t

Hibernate data at startup

2005-09-29 Thread Martin Ravell
I have Menu information for my app in the database which I would like to be able to load somehow when my app server starts up (or app is deployed). This would be much more efficient than the current method of having each user load it when they enter the application. Can anyone suggest how to best