users@glassfish.java.net

Re: Does GlassFish have Application Event Listeners?

From: Witold Szczerba <pljosh.mail_at_gmail.com>
Date: Thu, 21 Feb 2008 23:47:31 +0100

Good, question. I would like to use Spring for some things I cannot do
with EJB3 and I do not have WAR module, so I am joining the question
from Chris.

Witold Szczerba

2008/2/21, glassfish_at_javadesktop.org <glassfish_at_javadesktop.org>:
> Hello,
>
> I'm still pretty green to GlassFish, so I'm hoping someone can enlighten me. Basically, I'm trying to initialize some resources during the application startup. Since the server hosts multiple EARs, I really cannot use the server life cycle hooks. Also, the way this application is wired, I can't use the web application life-cycle listeners (or servlet init functions) to perform this. Are there any hooks into the server to allow for this prior to the web applications (there are multiple WARs in the EAR) accepting requests? Something like a preStartup or postStartup interface that I could use? Thanks!
>
> Chris
> [Message sent by forum member 'csiemback' (csiemback)]
>
> http://forums.java.net/jive/thread.jspa?messageID=260294
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>