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