users@glassfish.java.net

Re: Running a method when glassfish domain starts up

From: Dominik Dorn <dominik.dorn_at_gmail.com>
Date: Tue, 16 Mar 2010 17:26:10 +0100

For your application, you could create a servletListener.

For the whole app server, you could create a osgi-bundle with
an specific activator running your code.

As the bundle gets started on app-server startup, your code gets
executed.


-- 
[url=http://www.dominikdorn.com]Dominik Dorn[/url]
[url=http://www.studyguru.eu] Study Guru [/url] : Exchange your [url=
http://www.studyguru.eu] Studying materials [/url]