users@glassfish.java.net

Re: Run function at GF startup, how?

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Sun, 16 Mar 2008 20:42:30 +0100

Lifecycle modules is probably what you are looking for: https://glassfish.dev.java.net/javaee5/docs/DG/beamc.html
-Alexis


On Mar 16, 2008, at 20:19, glassfish_at_javadesktop.org wrote:

> hi there
> I have some kind of problem. In my JEE application I would like to
> run automatically some function (`init()`) each time GF starts (or
> restart).
> Second question is this possible at deploy stage?
>
> regards
> [Message sent by forum member 'gregory_d3' (gregory_d3)]
>
> http://forums.java.net/jive/thread.jspa?messageID=264290
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>