note 33569 added to ref.java

From: Date: Tue, 01 Jul 2003 00:19:01 +0000
Subject: note 33569 added to ref.java
Groups: php.notes 
Request: Send a blank email to php-notes+get-51241@lists.php.net to get a copy of this message
I'd like to share three observations about PHP's JAVA extension that might help others save some time: 1) On Redhat 7.3, with Apache 1.3.27 and PHP 4.3.2, I did not get to work PHP with Suns JDK 1.4.0_01 (Apache crashes), but JDK 1.4.2 works. 2) Calling a JAVA application with an exec call to a shell script seems considerably faster than accessing the same functionality with the JAVA extension. For example calling Fop with the JAVA extension can take 30 seconds on the same file, where the shell script from the Fop distribution (called from PHP with exec) takes 20 seconds. 3) When I recompile a Java class, it seems that the running httpd process, keeps the class file somewhere in cache, because I had to restart apache, before my PHP script, actually called the freshly compiled class. ---- Manual Page -- http://www.php.net/manual/en/ref.java.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33569 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33569&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33569&report=yes

« previous php.notes (#51241) next »