Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 46000 invoked from network); 17 Mar 2000 20:45:38 -0000 Received: from darius.concentric.net (207.155.198.79) by locus.apache.org with SMTP; 17 Mar 2000 20:45:38 -0000 Received: from mcfeely.concentric.net (mcfeely.concentric.net [207.155.198.83]) by darius.concentric.net (8.9.1a/(98/12/15 5.12)) id PAA01431; Fri, 17 Mar 2000 15:45:36 -0500 (EST) [1-800-745-2747 The Concentric Network] Errors-To: Received: from mail.legalvista.com ([209.31.227.192]) by mcfeely.concentric.net (8.9.1a) id PAA17185; Fri, 17 Mar 2000 15:45:36 -0500 (EST) Received: from LVS/SpoolDir by mail.legalvista.com (Mercury 1.44); 17 Mar 00 12:47:00 -800 Received: from SpoolDir by LVS (Mercury 1.44); 17 Mar 00 12:46:35 -800 Received: from legalvista.com (192.168.200.21) by mail.legalvista.com (Mercury 1.44) with ESMTP; 17 Mar 00 12:46:29 -800 Message-ID: <38D22BCA.A1FE8AD4@legalvista.com> Date: Fri, 17 Mar 2000 12:57:47 +0000 From: Gerard Monsen X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user@jakarta.apache.org Subject: HTTP Tunneling using Tomcat References: <001601bf9046$e00fb720$73010101@webpc> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Does anyone here know of any way to create a constant socket connection through HTTP? I had thought there might be a way through servlets. It seemed all I had to do was get the ServletInputStream and ServletOutputStream and never close them. I could then theoretically write to and read from the streams for as long as I wanted. Unfortunately, this doesn't seem to work and all of the documentation and books on servlets I've seen only concentrate on the request/response model for servlets. I'm getting the idea that what I'm looking for may not be possible because of the way HTTP was designed, but I'm wondering if perhaps someone here had found a way to get around that. We want to do this for three reasons: 1. We want the constant socket connection for speed purposes, and so that as new information comes to the server, it gets sent to the client right away. 2. We want the connection to run through our secure https server so that all communications are encrypted with SSL. As an added bonus, this means that all of the encryption will be done with faster native code (the SSL server on the server, the browser code on the client). We can't use Sun's encryption mechanisms, because they cause SecurityException's in untrusted applets. 3. Most importantly, it gets around any potential problems with firewalls. Any help you can give would be most appreciated. Gerard Monsen Integrated Litigation Solutions Oakland, CA