• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Polling from java Web start to web server

 
ram
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to poll the web server that launched the java web start.
Does anybody can throw some light on how can I do this.
Right now I am thinking of:
1) Have a Client thread which polls every specific interval. And Server side open a proxy server listening on a particular socket. More of Socket programming
 
karthikeyan Chockalingam
Ranch Hand
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Instead you can open a HttpURLConnection and analyse a meta file which indicates any changes [as below] perodically in a Thread. Or you can invoke a server side component using HTTP Tunnelling.


[ May 14, 2008: Message edited by: karthi keyan ]
 
ram
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mayya Ramdas:
I need to poll the web server that launched the java web start.
I am having 2 options
Using HTTP calls, or seperate socket
 
ram
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I am doing HttpUrlConnection for scheduled polling.
Still there are many ways to do that
Thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic