Re: DefaultServlet.init()
Martin Wood <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
hmm, i dont know of any specific feature where you can get notification from openAMF that its started. So you want some code to run when the application context loads, or something that is triggered by a user connecting? the reason i mentioned spring is that when the application context is loaded spring can configure a certain amount of the wiring of the application (and therefore you can trigger other startup code). Of course, some use of the <load-on-startup> directive may achieve the same ends. thats all i got for now. :) martin hank williams wrote: > 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 ------------------------------------------------------- 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