This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
It may look bit stupid..but I need to get something setup..
" Monitoring webservices, and if they are down sent emails to a group of people and keep checking at an equal intervel of time and again when services are back up and running again email a confirmation to the group of people".
For this I am planning to impliment like
Step1. Write a Java Progration / method to check the status of the WebService.
Steap. Write a shedule method which runs every 30mns intervel and call service status.
Step3: Success or Failue email the respective people about the service status.
Using windows shedular, let the program run and keep monitoring the services.
Another advanced step, install this Java.BAT program as windows service and configure furher.
Any suggestions - great help.
Thanks and regards,VIJAY.
Coming together is a beginning. Keeping together is progress.. Working together is success........
This can also be implemented with a server application without using windows scheduler or a windows service.
Joined: Sep 30, 2008
could you please let me know how can I make it as server application?
Would it be possible to install a java problem on Tomcat server and get it run in freequent interval times.
Any suggestions on how can i make this java program to make it as server applicaiton.
Thanks in advance.
Joined: Apr 16, 2008
Tomcat is a simple web server for serving up HTML documents. A server application such as the one you are looking to implement would not be a part of Tomcat. All you need is a JRE to run the server. You could run it on the same machine that Tomcat is on or a different machine inside your network. Below is some code for you to think about.