| Author |
Checking Server is Up or Not from Client
|
Ajay Njallacattu
Ranch Hand
Joined: Nov 21, 2006
Posts: 36
|
|
Hi, Is there a way to check automatically whether the server is UP or not or the Client is still activily connected to the server or not from a client. This is a java standalone application using WEblogic server. Is there any way to do this. Regards
|
 |
Akhilesh Trivedi
Ranch Hand
Joined: Jun 22, 2005
Posts: 1493
|
|
|
Automatically means? Are you expecting the server to reach to the clients?
|
Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
|
 |
Ajay Njallacattu
Ranch Hand
Joined: Nov 21, 2006
Posts: 36
|
|
Automatically means... The Client need to check on a regular interval whether the server up or not.. Is there a possible solution for that.. Because this is a thick client application, only when it save the data or communicate to server it will get to know the status of server. Otherwise you can continue working on locally means client side Regards
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12269
|
|
You could use HttpURLConnection to do a HEAD request to some known URL every N seconds... Bill
|
Java Resources at www.wbrogden.com
|
 |
 |
|
|
subject: Checking Server is Up or Not from Client
|
|
|