• Post Reply Bookmark Topic Watch Topic
  • New Topic

Availability of web site or web service  RSS feed

 
yogendra mishra
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys this is my first post on this forum and expecting a solution for my query.

I am a neophyte in Web services.I just want to know is there any mechanism available through which we can measure availability of a particular web site.please friends i urgently need to find a solution for this so please post your suggestions.
 
Jim Akmer
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Availability of web service? What do you mean? E.g. fail-over?
Web services are usually deployed in application servers that handle this stuff.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A background task that performs periodic HTTP requests to the server or service in question?
 
yogendra mishra
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lester Burnham wrote:A background task that performs periodic HTTP requests to the server or service in question?


Sir please could you tell how to do this in Java.A small code or tutorial would be appreciated.
Nowadays there are various softwares that are coming to do above but my task is to do that by myself.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
periodic background task: java.util.Timer and TimerTask classes

HTTP request: http://www.exampledepot.com/egs/java.net/ReadFromURL.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!