jQuery in Action, 2nd edition*
The moose likes Applets and the fly likes Applet-Servlet communication, How to make it Asnychronous? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet-Servlet communication, How to make it Asnychronous?" Watch "Applet-Servlet communication, How to make it Asnychronous?" New topic
Author

Applet-Servlet communication, How to make it Asnychronous?

Aditya Singh
Ranch Hand

Joined: Mar 06, 2008
Posts: 62
Hi,
I have applet-servlet communication code inplace it has read and connection timeout values set.
This servlet inturns communicate to c++ code using JAX-RPC. Problem comes when I get proper
connection but a very long stream back from servlet/ send a long stream to servlet .. Applet seems
to be hanged !! . I tried writting a new thread and calling it using invoke later but could
not do achive asnychronous behavior . Any pointer will be helpful.

Thanks in advance.

Regards,
Aditya
Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

You can use the bellow link
webpage


Java Best Practices
Linux Best Practices
Amortization Calculator

Aditya Singh
Ranch Hand

Joined: Mar 06, 2008
Posts: 62
Thanks for reply but this is all basic work already done.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet-Servlet communication, How to make it Asnychronous?