I need to know how to send a sms and email when my application is stopped or terminated unexpectedly. My application runs on JBoss.
If the JBoss stops then i have to receive the sms and email. mentioning that the application has been stopped unexpectedly.
Please provide solution or an idea so that i can perform this functionality in my appliaction.