XLVIII. Java
The
former
is
provided
by
a
SAPI
module
that
interfaces
with
the
Servlet
server
,
the
latter
by
the
Java
extension
.
PHP
4
ext
/
java
provides
a
simple
and
effective
means
for
creating
and
invoking
methods
on
Java
objects
from
PHP
.
Build
instructions
for
ext
/
java
can
be
found
in
php4
/
ext
/
java
/
README
.
Notes:
sapi
/
servlet
builds
upon
the
mechanism
defined
by
ext
/
java
to
enable
the
entire
PHP
processor
to
be
run
as
a
servlet
.