This discussion is archived
0 Replies Latest reply: Oct 9, 2012 5:20 AM by 941150 RSS

ProxySelector

941150 Newbie
Currently Being Moderated
Hi

We have a few applications which are running on a web server in a local network. Some of them need to make requests through a proxy, because they have to access to external resources, so we decide to use a custom implementation of ProxySelector.

The problem is that all connections opened by the virtual machine of the web server will ask the ProxySelector. I mean, all applications are going to use our custom proxy selector, not just some of them.

Any idea to use something like Proxy Selector just at application level? Any other idea?

All of this solutions http://docs.oracle.com/javase/1.5.0/docs/guide/net/proxies.html are JVM stuff, no application.

Thank you very much

Ángel

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points