By kirillcool
via ibm.com
Published: Sep 05 2008 / 10:18
Start with a Java applet and build a server-based proxy system that uses your browser to access an arbitrary Web service. You'll use JavaScript code to access applet-based information and call a servlet, which retrieves the remote information. Thus, you bypass the same-server restrictions on what an applet can and cannot do.
Tweet
SaveShareSend
Tags: how-to, java, javascript, web services
Comments
chaos0815.myopenid.com replied ago:
I did't get it... Why use an Applet to get the data instead of using POAJAX (Plain Old AJAX) directly?
unchqua replied ago:
Because of http://en.wikipedia.org/wiki/Same_origin_policy , I guess.
Voters For This Link (12)
Voters Against This Link (1)