To make the hits to internet programmatically via a proxy, you need to launch the program with the following JVM arguments. The program ConnectionTest contains the code to connect to some server on the internet and if in order to do so it needs to go via a proxy then run it as follows.
>java -Dhttp.proxyHost=proxy2.temp.org -Dhttp.proxyPort=8888 pack.ConnectionTest
Running the above code without the JVM arguments, it won't connect.
Why NoSQL is in fashion?
-
Couple of years back NoSQL was relatively unheard term. It has become a new
buzzword in town, catching people's imagination. Almost all big daddies of
In...
8 months ago
0 comments:
Post a Comment