Menu

Tree [r518] / trunk / php-java-bridge / java /
 History

HTTPS access


File Date Author Commit
 Client.php 2006-11-22 jost2345 [r467] Release-3-2-1
 GlobalRef.php 2006-08-21 jost2345 [r459] Release-3-1-8devel1
 Java.php 2006-08-27 jost2345 [r460] Release-3-1-8rc
 JavaProxy.php 2006-12-10 jost2345 [r481] Release-3-2-1
 NativeParser.php 2006-11-22 jost2345 [r467] Release-3-2-1
 Options.php 2006-11-22 jost2345 [r467] Release-3-2-1
 Parser.php 2006-08-27 jost2345 [r460] Release-3-1-8rc
 Protocol.php 2006-12-09 jost2345 [r480] Release-3-2-1
 README 2006-08-27 jost2345 [r460] Release-3-1-8rc
 SimpleParser.php 2006-11-22 jost2345 [r467] Release-3-2-1
 TODO 2006-08-27 jost2345 [r460] Release-3-1-8rc

Read Me

This directory contains a pure PHP implementation of the PHP/Java
Bridge: it doesn't require a Java extension ("java.so" or
"php_java.dll") installed on the web server.

WARNING: THIS IMPLEMENTATION IS 10 TIMES SLOWER THAN THE C
IMPLEMENTATION.


Installation
------------

* Copy the PHP classes to the web server.

* Copy the Java libraries you need into the WEB-INF/lib folder within
  JavaBridge.war and copy JavaBridge.war into the deploy folder of the
  J2EE server or servlet engine and start it (if necessary).

* To call out to your Java libraries require java/Java.php
  and use the provided Java class as usual. Example:

<?php

  require_once("java/Java.php");
  $string = new Java("java.lang.String", "HelloWorld");
  echo $string;

?>

* If the J2EE server or servlet engine does not run on the same
  computer as the web server, change the JAVA_HOSTS option (see
  Options.php) accordingly.


Mailing List
------------
Please report bugs/problems to the mailing list:

  php-java-bridge-users@lists.sourceforge.net

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.