Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet - Servlet Communication bypassing Firewall

 
Tauri Valor
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
  • 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
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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
  • 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'
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic