Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 37928 invoked from network); 14 Aug 2008 05:54:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Aug 2008 05:54:52 -0000 Received: (qmail 33216 invoked by uid 500); 14 Aug 2008 05:54:47 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 33201 invoked by uid 500); 14 Aug 2008 05:54:47 -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 33190 invoked by uid 99); 14 Aug 2008 05:54:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2008 22:54:47 -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 [69.147.97.24] (HELO web63214.mail.re1.yahoo.com) (69.147.97.24) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 14 Aug 2008 05:53:49 +0000 Received: (qmail 19133 invoked by uid 60001); 14 Aug 2008 05:53:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=Atirpewyhro3/O4SScwwjS0NPexPpun+MEl7F/nEsGVQUH9q56nF+tX/k2rD4nGYmucS/+pX/ysGqE6VztF3MGaYFAsJWstbnOZFpq+AT5RAyiFQ1XmcquCbl5AUJD/KEdYoVuUMI36Kb5MJrbILceoQtRxVEbxg2N8QtBr9q/Q=; Received: from [67.103.46.197] by web63214.mail.re1.yahoo.com via HTTP; Wed, 13 Aug 2008 22:53:15 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Wed, 13 Aug 2008 22:53:15 -0700 (PDT) From: John G Reply-To: johngheli@yahoo.com Subject: Re: AJP and PHP To: Jim Manico Cc: Tomcat Dev In-Reply-To: <48A3C432.1070103@manico.net> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1233735335-1218693195=:19029" Message-ID: <899309.19029.qm@web63214.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1233735335-1218693195=:19029 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Why scary, =A0all I am trying to acheive is persistant connections to a ser= vlet from PHP.. =A0 The same interface is used from Apache to a servlet, both in mod_jk and mod= _proxy_ajp.=20 It=A0seems less clumsy and more efficient than implementing a curl call and= this same=20 persistant interface could also be used as a Web Service transport=A0instea= d of JSON.. John Gentilin --- On Wed, 8/13/08, Jim Manico wrote: From: Jim Manico Subject: Re: AJP and PHP To: johngheli@yahoo.com Date: Wednesday, August 13, 2008, 10:35 PM scary man - this cries for a web service interface. - Jim > I have a project where our presentation layer is in PHP and the business logic is Servlet based.. The interface is JSON via a CURL call..=20 > =20 > I was thinking that I could gain some efficiencies if I created a native AJP implementation as a PHP PECL module using memcache and mod_jk as templa= tes and create a=20 > persistent connection pool. That way I can dump the curl call.. > =20 > Looked all over to see if this has been done before, but came up empty... > =20 > Any thoughts on this ?? =20 > =20 > Thanks > John Gentilin > =20 > =20 > =20 > =20 > > > =20 > =20 --=20 Jim Manico, Senior Application Security Engineer jim.manico@aspectsecurity.com | jim@manico.net (301) 604-4882 (work) (808) 652-3805 (cell) Aspect Security=99 Securing your applications at the source http://www.aspectsecurity.com --------------------------------------------------------------- Management, Developers, Security Professionals ... ... can only result in one thing. BETTER SECURITY. http://www.owasp.org/index.php/OWASP_NYC_AppSec_2008_Conference =20 Sept 22nd-25th 2008 =0A=0A=0A --0-1233735335-1218693195=:19029--