Re: DefaultServlet.init()
hank williams <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
There are a variety of things I do, from making sure that the database is really there and all the tables are really there and have all the necessary fields, to turning on my pooling class, to turning on a daemon that runs in the background for certain video processing tasks (not a DB task, but one that requires initialization). Regarding spring, I am not familiar with it, but if it doesnt have anything to do with openamf it probably is not relevant. I just need to get some code run in the initialization phase of the servlet lifecycle. Regards Hank On 9/20/05, Martin Wood <[email protected]> wrote: > im curious as to what you mean by initialize your database? > > or, in other words, what exactly do you need to do at initialization time? > > > p.s. have you checked out spring? > > www.springframework.org > > i've used it very successfully with openAMF and may help you perform > such a task (but im no expert, so it might not, anyway, its great) > > :) > > martin > > hank williams wrote: > > I am wondering if there is a way to get my code initialized at servlet > > init time short of overriding the openamf class. > > > > I want to initialize my database and I guess I could do that in > > another parallel servlet, but it would be much cleaner as part of the > > openamf startup. > > > > Hank > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Openamf-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openamf-user > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php