This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes SERVLET Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "SERVLET" Watch "SERVLET" New topic


Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
This post is transferred to Servlets forum.
maha anna
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
HTTP Tunneling is a process used to transfer complex data between Java Applets/Applications and Servlets using just the HTTP protocol supported by all web servers. It has several advantages over direct socket connection:
1. It works with all web servers, even public web hosts which won't let you run your own separate server software.
2. It works through HTTP-only firewalls.
3. You can make use of the Servlet API and the powerful features present in existing servers without having to write your own.
The disadvantages are:
1. It requires a bit more data to be transferred, enough for some HTTP headers as well as your own data. In most cases, this is not very significant.
2. It implies a "request/response" communication pattern, and is not very good at transferring spontaneous information from the server to the client.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
It is sorta covered in the JavaRanch Style Guide.
subject: SERVLET
Similar Threads
Splitig integers
Do you like twitter ?
Posting to bump up my count...
Constructing overloading
Loading an image