Re: DefaultServlet.init()

Martin Wood <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.