This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Polling from java Web start to web server  RSS feed

 
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
 
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
 
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
 
No, tomorrow we rule the world! With this tiny ad:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!