aspose file tools*
The moose likes JNLP and Web Start and the fly likes Polling from java Web start to web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Polling from java Web start to web server" Watch "Polling from java Web start to web server" New topic
Author

Polling from java Web start to web server

ram
Greenhorn

Joined: Mar 06, 2008
Posts: 6
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

Joined: Sep 06, 2003
Posts: 259
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 ]

http://www.skillassert.com


ram
Greenhorn

Joined: Mar 06, 2008
Posts: 6
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

Joined: Mar 06, 2008
Posts: 6
Yes I am doing HttpUrlConnection for scheduled polling.
Still there are many ways to do that
Thanks
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"Mayya",
Please check your private messages.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Polling from java Web start to web server
 
Similar Threads
simple socket mechanism
SSL Communication between Java and VC++
Running a Socket server process in Tomcat
How can I transport data from client to server with "Java web start"?
socket callback