Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 5444 invoked by uid 500); 12 Oct 2001 19:14:34 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: tomcat-dev@jakarta.apache.org Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 5427 invoked from network); 12 Oct 2001 19:14:34 -0000 Message-ID: <00a701c15351$d94022c0$c9f36bcf@nikita> From: "Denis Balazuc" To: References: <764CA2FF49EC054BA086FC8253A52DD7432C7F@merc09.na.sas.com> Subject: Non TCP oriented Connectors (question) Date: Fri, 12 Oct 2001 15:12:23 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Virus-Scanned: by AMaViS snapshot-20010714 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All I want to embedd Tomcat in an application, in order to display/browse JSP pages without any network connection. (the reason is that we're dealing with a Web site implemented using JSP and people want an "Offline" browsing using a local application) I don't want to have a full Tomcat running on client's machines as people dont have big machines and certainly don't want to have an internal server, whatever it is, running in the background. I've been browsing through Tomcat code (3.2.3 and Catalina) about Connector(s), ServerConnector, etc. and found that connectors are all sort-of TCP oriented. I am probably missing something here....as the ServerConnector interface does not look TCP oriented at all from the few declared methods.... So my question is : How can I implement a Connector that would actually be linked internally with the rest of my application, without having to provide any kind of TCP-like stuff (hostnames, ports, etc) ? The scenario would be : Have a browser in the app send requests to that internal Connector (by means of new methods bypassing the whole network part), which will in turn forward those requests to the Tomcat framework and serve pages back to my browser. Looking at Tomcat 3.2.3, I thought that Catalina would partly solve my problem with the promise that TCP orientation would be abstracted from Catalina (not to say removed) but, to my own sadness, Catalina seems as TCP-oriented as Tomcat is.... Maybe I'm totally mistaking here, or I'm not looking in the proper direction for that ? Thanks for providing any kind of clue (a name of a class where to look into in the first place would actually do !) Denis Balazuc