Menu

[r767]: / trunk / php-java-bridge / documentation / API / ric_README.html  Maximize  Restore  History

Download this file

58 lines (42 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- template designed by Marco Von Ballmoos -->
<title></title>
<link rel="stylesheet" href="media/stylesheet.css" />
</head>
<body>
<div align="center"><h1>README</h1></div>
<pre>
The Java.inc and JavaProxy.php communicate with a
virtual machine by using the VM Bridge network
protocol.
The Java.inc can be used by PHP libraries to call
Java or .NET methods or procedures of a running
Java/.NET virtual machine.
The JavaProxy.php can be used by Java to call PHP
methods or procedures of a running HTTP server.
Usage
-----
* Type java -jar JavaBridge.jar SERVLET:8080
* To access Java libraries require java/Java.inc
and use the provided Java class as usual. Example:
&lt;?php
ini_set(&quot;allow_url_include&quot;, 1);
require_once(&quot;http://localhost:8080/JavaBridge/java/Java.inc&quot;);
$string = new Java(&quot;java.lang.String&quot;, &quot;HelloWorld&quot;);
echo $string;
?&gt;
* On a server connected to the internet use SERVLET_LOCAL:8080 or
use a J2EE/Servlet engine and the JavaBridge.war instead.
Mailing List
------------
Please report bugs/problems to the mailing list:
php-java-bridge-users@lists.sourceforge.net
</pre>
<p class="notes" id="credit">
Documentation generated on Tue, 03 Mar 2009 19:17:56 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.2</a>
</p>
</body>
</html>