• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applet - Servlet Communication bypassing Firewall

 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I want to know how I can communicate between an Applet and Servlet bypassing the Firewall in between. I heard that I can do that by HttpTunneling.

But Im not sure what it exactly meant.

What Im trying to do is to change the browser's proxy settings from an Applet through Servlet.

Pls Help


Thanks
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't get around the firewall. It's on the server, and all client accesses will need to get through it. Trying to bypass it (or force your way through it) might be seen as an attack that has legal ramifications.

HTTP tunneling refers to other protocols being piggy-backed on top of HTTP, in order to get through the firewall on port 80 (which is generally open for the web servers). But if you can run servlets on the server, then you can just use HTTP to begin with (which applets can easily use thanks to java.net.URL and friends).

What is the purpose of wanting to change the proxy settings? Applets can use proxies, too, when they make their HTTP connections.
 
Tauri Valor
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks !

I have the scenario like this;

For eg: if Amazon cannot check out to Singapore, if it only does to US,

I want to create a US proxy with which I could do the checkout.. ?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'd need to run a proxy server somewhere in the USA, obviously.
 
Tauri Valor
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry I think Ive confused you.

I have an App which makes purchases in US on behalf of customer in Asia .
US sites dont usually accept orders from Asia.

The proxy server, using our system, provides the resource by connecting to the specified server and requesting the service on behalf of the client. A proxy server can alter the client's request or the server's response, and sometimes it may serve the request without contacting the specified server using 'cache mechanism'
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't see any confusion there.
If a site will only interact with an IP in the US, you need to set up your proxy in the US.
 
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic