Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21994 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18189 invoked by uid 1010); 24 Feb 2006 12:13:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18174 invoked from network); 24 Feb 2006 12:13:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2006 12:13:51 -0000 X-Host-Fingerprint: 64.233.166.177 pproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.166.177:6709] helo=pproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1A/E9-30574-F78FEF34 for ; Fri, 24 Feb 2006 07:13:51 -0500 Received: by pproxy.gmail.com with SMTP id d42so364385pyd for ; Fri, 24 Feb 2006 04:13:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B5WpwJXCq79wrvbV5WGY5S1ho0wltbQ+XdUkP3+nDDkCeM8Z8zNW5RBSzUsGSsd7+rT4JLLHfsa7HbLEDoZfQVwyVYqqzOfoDmgFOwRVXjygqngl0pdBfkCY5MiQ1tOSxXNINuMbHVi2pDMoR18h6NmNJBmK1I25V3nj8acy7gg= Received: by 10.35.91.10 with SMTP id t10mr2537578pyl; Fri, 24 Feb 2006 04:13:48 -0800 (PST) Received: by 10.35.41.17 with HTTP; Fri, 24 Feb 2006 04:13:48 -0800 (PST) Message-ID: <4e89b4260602240413y20bc0a38v1185e12162310980@mail.gmail.com> Date: Fri, 24 Feb 2006 07:13:48 -0500 To: "Ben Trafford" Cc: internals@lists.php.net In-Reply-To: <6.2.1.2.2.20060221052620.050965b0@mail.prodigal.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6.2.1.2.2.20060221052620.050965b0@mail.prodigal.ca> Subject: Re: [PHP-DEV] Anybody written a Java SAPI? From: kingwez@gmail.com ("Wez Furlong") We used to have a servlet sapi in the core, but it now resides in CVS under pecl/servlet. I don't know what the status of that is, but it might be made workable with a little bit of effort. --Wez. On 2/21/06, Ben Trafford wrote: > > Hello! > > And here I am, back with more SAPI questions. Having abandoned my= earlier > project as unworkable, I'm trying to build a MUD server in Java...and I > want people from within the MUD server to be able to access functions > written in PHP. Seems like an ideal situation for a SAPI. > > I've seen JSR 223 from the Java community, but it appears only be= focused > on servlets, which doesn't help me much. Basically, my requirements are > similar to my earlier questions on the list -- I want to be able to send > out a request, with arguments, to the PHP interpreter, and either return > nothing or return a string to the MUD server (which is Telnet-based). > > Has anybody written a SAPI for a straight Java application? I'm j= ust about > ready to get started on the project, but I can't find any examples or > documentation for anybody doing anything like this, nor any really good > documentation on writing SAPIs. I don't think the Embed SAPI is going to > work for my purposes, but I'm willing to be convinced otherwise. > > Just to be clear: I don't want to make PHP use Java objects; I wa= nt a Java > application to use PHP. > > Thoughts? Pointers? Help? > > Thanks! > > --->Ben > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >