Tuesday, May 09, 2006

Using AwSwingClient with a web proxy

java -Dhttp.proxyHost=webcache.singapore.sun.com -Dhttp.proxyPort=8080 -jar AwSwingClient.jar &

I'm using the above command command to run AwSwingClient from work. This is one of the nice features of using RMI. You only need to set the system properties http.proxyHost and http.proxyPort to point to you company's web proxy. It does what is called http tunneling, which is a little slower than using straight RMI protocol, but hey--it works!

Bill

0 Comments:

Post a Comment

<< Home