Networking through applets is such a pain sigh. I’ve signed the applet and now it actually tries to connect somewhere, but it is stopped by firewall at once. I just don’t get it. The applet itself is downloaded perfectly along with all needed jars. But then applet tries to contact remote host directly as there is no firewall at all. And in Java Plugin settings page I have “use browser settings” selected in a “networking” tab. Even if I manage to detect proxy somehow I need to ask user for proxy password explicitly!!! That’s absolutely insecure.
Why can’t it just use settings from FF or IE or whatever to make HTTP communications?
Moreover I’ve tried to find some “hacky” solutions of this problem and use Ajax to provide my Applet with network access without such an headache. But there’s another problem: firefox just don’t want to call applet’s methods from javascript… :’(
Does anybody know if it is possible to establish HTTP communication from applet behind password-protected proxy?