XML & Web services: Email notification when server shuts down..Urgent !!!

  1. Hi , I am a newbie to the J2ee environment , Please anyone assist me on how to monitor the web server and send an email notification when the server shuts down ? .
  2. How about shutdown hooks?[ Go to top ]

    For example: http://www.onjava.com/pub/a/onjava/2003/03/26/shutdownhook.html