Re: Anybody written a Java SAPI?

From: Date: Fri, 24 Feb 2006 12:13:48 +0000
Subject: Re: Anybody written a Java SAPI?
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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 <[email protected]> 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 just 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 want 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
>
>


Thread (3 messages)

« previous php.internals (#21994) next »