users@glassfish.java.net

How to tell glassfish to do some special stuff on deploy?

From: <glassfish_at_javadesktop.org>
Date: Wed, 24 Jun 2009 08:34:55 PDT

Hello everybody

I am using some stateless EJBs in Glassfish. I would like the code "new SnmpAdapter().start();" to be executed every time the application is deployed. How to tell Glassfish to do it?

Thank you very much!
[Message sent by forum member 'aldian' (aldian)]

http://forums.java.net/jive/thread.jspa?messageID=352743