I guess my real question is how do I initialize an application-scoped ASO on startup rather than the first time it's accessed. I would guess that you don't have access to an ASO within a ServletContestListener.
Thanks again for all your help, Rob Paul Ferraro wrote: There are many approaches one can take depending on your architecture. For simple web applications, I find it easiest to implement a javax.servlet.ServletContextListener. Place your application initialization code in the void contextInitialized(ServletContextEvent event) method. Register your listener in your web.xml file. Paul Rob Dennett wrote: > Is there a standard way to initialize a Tapestry 4 app on startup? I found a > message in the archives which used a custom servlet loaded after the > ApplicationServlet to do that, but it seems like there should be another way > of doing it. > > > > Thanks for your help, > > Rob > > > -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 9/13/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.24/101 - Release Date: 9/13/2005 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
