|
From: <php...@li...> - 2008-10-06 02:21:47
|
Hi, We have a php web application which will be accessing a third party Java API (in form of jars) what is the suggested deployment method? I have tried following: 1. Compiled the source which results in java.so and then include it in php.ini using 'extension=java.so' 2. Start the servlet engine explicitly using java commend 'java -jar JavaBridge.jar SERVLET:8080 3 javabridge_servlet.log' inside JAVA.STANDALONE folder. I have couple of questions. - Which is the suggested way of deploying php-java bridge? - The servlet engine which is part of the JavaBridge.jar is it stable enough for production? - Good thing about option 1 is that I do not have to start any separate process it gets started with apache but we have experienced that for some reason for every call it was creating a separate process and we end up having lots of java processes. Are we using it incorrectly? Thanks for the help. Regards, Amit. |