Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 4826 invoked from network); 17 Sep 2008 17:02:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Sep 2008 17:02:42 -0000 Received: (qmail 56441 invoked by uid 500); 17 Sep 2008 17:02:35 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 56385 invoked by uid 500); 17 Sep 2008 17:02:35 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 56357 invoked by uid 99); 17 Sep 2008 17:02:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 10:02:34 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [12.11.148.84] (HELO irp2.ptc.com) (12.11.148.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2008 17:01:34 +0000 X-IronPort-AV: E=Sophos;i="4.32,416,1217822400"; d="scan'208,217";a="25519711" Received: from unknown (HELO HQ-EX3FE2.ptcnet.ptc.com) ([132.253.201.63]) by irp2.ptc.com with ESMTP; 17 Sep 2008 13:02:05 -0400 Received: from [132.253.48.123] ([132.253.48.123]) by HQ-EX3FE2.ptcnet.ptc.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 17 Sep 2008 13:02:05 -0400 Message-ID: <48D13811.60202@ptc.com> Date: Wed, 17 Sep 2008 12:02:09 -0500 From: Jess Holle User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: In-process connector? References: <48D0FCA1.4080006@ptc.com> <6291fc850809170943p85aee69l908bae761045b9b0@mail.gmail.com> In-Reply-To: <6291fc850809170943p85aee69l908bae761045b9b0@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------040604020309010309070101" X-OriginalArrivalTime: 17 Sep 2008 17:02:05.0470 (UTC) FILETIME=[1CB1DBE0:01C918E7] X-Virus-Checked: Checked by ClamAV on apache.org --------------040604020309010309070101 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I guess I should clarify. I want Java code to do in-process requests to JSPs (etc) for HTML. This shouldn't involve sockets or JNI -- just a plain simple mechanism to take ServletRequest/HttpServletRequest and ServletResponse/HttpServletResponse objects and toss these (in process) at Tomcat and let it pass these to the normal FilterChain, etc, with the output written to the response stream/writer. Nothing terribly fancy, but this would allow in-process use of JSPs to generate HTML for various non-browser purposes. Otherwise one is stuck with the unnecessary dichotomy of generating browser HTML one way and all other HTML some other way -- unless one forgoes any technology, like JSP, that relies on the servlet API. Henri Gomez wrote: > There was a JNI connector sometimes ago. > > I'm unsure if it's still maintened > > 2008/9/17 Jess Holle : > >> Is there an in-process connector for Tomcat somewhere out there? >> >> Specifically I want to be able to embed Tomcat and use JSPs, etc, to >> generate HTML but without requiring loopback HTTP(S) requests. >> >> Does such a thing exist? If not, would this be hard to add? >> >> Pointers and suggestions would be much appreciated. >> >> -- >> Jess Holle >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: dev-help@tomcat.apache.org >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org > For additional commands, e-mail: dev-help@tomcat.apache.org > > > --------------040604020309010309070101--