|
From: <php...@li...> - 2009-03-27 09:59:42
|
We used to use a binary protocol in 1.x. It has since been replaced by a faster XML protocol mechanism. We have deprecated (4.x) and then removed (v5.x) all native code so that the bridge runs on any cpu, php or java version. You need a PHP "Java" class, yes. Either this one http://php-java-bridge.sourceforge.net/pjb/java/Java.inc or the simple PHP code from our FAQ. Regards, Jost Boekemeier Mrz 27, 2009 10:28 vorm. schrieb am < php...@li...>: Hi Jost, I see this in my java.ini (which was autoinstalled): ------- ;; If you want to start the default JVM automatically when the HTTP ;; server starts, disable java.hosts, java.servlet and ;; java.socketname, set java.java_home=<VM_HOME> and ;; java.java=<VM_EXE>, for example: ------- And I've been successfully using this 'method' on a different server using v4.x of the php java bridge. That server does not run any servlet engine excepting that which is autostarted by the java bridge. Does anyone else use this 'method' for lightweight java access? Another thing is, in the example that you had given, http://php-java-bridge.sourceforge.net/pjb/examples/source.php?source=startJava.php it includes this line: require_once("java/Java.inc"); Do I just extract and place this Java.inc in the required directory manually? Is that the way to do it? Warm Regards, Thangaraj ------------- Hi, The bridge cannot "autostart". Basically you write or include() PHP code to connect to a Java b... ------------------------------------------------------------------------------ _____________________... |