From: <php...@li...> - 2010-10-23 08:41:41
|
Hi, > We just need to be able to run their Java programs from a PHP script > that will be called from a web browser Please see http://php-java-bridge.sourceforge.net/pjb/installation.php > 1) . Can we just use JavaBridge for this purpose Sure. > 2) If yes, how do we do this exactly - Please see our FAQ entry "What do I need to communicate with Java?" and "Do I need a Java Application Server or Servlet Engine?" at http://php-java-bridge.sourceforge.net/pjb/FAQ.html > b) How do we run the JavaBridge app as a service/daemon in Linux that > can run in the background ? Both, Tomcat and Jetty run as a demon. Just type: yum install tomcat6 or yum install jetty to install it. > c) How do we call the java programs from PHP ? Use the PHP/Java Bridge protocol. Bindings for Python, Scheme, PHP 4 and higher are available. For PHP 5 just use the Java.inc class. Please see our FAQ entry "What do I need to communicate with Java?" and "Does it support PHP 4?" Regards, Jost Bökemeier |