From: Jost B. <jos...@ya...> - 2005-09-12 16:29:58
|
Hi, > 1. BUG. There is no PHP4 version of library in The PHP/Java Bridge does not work on threaded HTTP servers, e.g. IIS, unless ZTS is switched on. ZTS is experimental in all versions below PHP 5 and I know of at least 3 incompatible ABI's since 4.3.2. So the question is: which version of PHP4 on windows should we support? Isn't it possible to compile your own php4 binary as described in the README? > 2. About 80% of windows distributive size is > php5ts.dll > Is it possible to make alternative -light version? Yes, certainly. But is 3MB really too large these days? > 3. Patch to make test run even if unzipped not in > c:/php5 Isn't it possible to adjust the php.ini accordingly? One has to do this during the installation process anyway. But the widgetTest.bat could be changed, of course. > 4. JavaBridge.jar doesn't output any messages about > it was started successfully If you start it at log level 3 or above, as described in the README, it will output to stdout or to a log file. > complete. Is there any ways to control running > server? "apachectl start" starts the apache server and the bridge and "apachectl stop" stops both, please see the README for details. Since version 2.0.8 this works on windows, too. However, the recommended way to run the backend is to start it via the php-java-bridge.service script (on Unix) or via tomcat (on windows). > 6. It would be good to have a ToC in readme. Yes. > Q1. Is it possible to extend Java class with PHP? > I.e. make PHP class, inherited from one of Java? The java_closure() call currently accepts only interfaces, not classes. It would be nice if the Sun's dynamic proxy would accept a class, but it doesn't. If we want this, we must write our own proxy compiler. Please see http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/lang/reflect/Proxy.java?rev=1.13.2.6&content-type=text/vnd.viewcvs-markup Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |