users@glassfish.java.net

Re: How could I implement and deploy a background process in Glassfish?

From: <glassfish_at_javadesktop.org>
Date: Sun, 13 Jan 2008 22:10:48 PST

You could do this using the Self Management Framework in GlassFish. An event could be created that will try to ping the IPs and the with the results, some action could be taken. One event is associated with one action in Self Management and the event-action form a rule. The Self Management service is started during GlassFish startup and the rules could be created using the administration console or Command line interface, after creating the event and action mbeans.

Please see http://blogs.sun.com/technical/entry/self_management_rules for more details.

HTH,
Shalini.
[Message sent by forum member 'sm157516' (sm157516)]

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