30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Zend Server <strong>Reference</strong> Manual<br />

Testing the Bridge Connection<br />

The following code sample shows how you can, as an initial step, test the connection between your PHP<br />

and Java environments to ensure that the Java Bridge is defined properly and communicates with the<br />

correct Java. This code demonstrates the interaction between a PHP application and Java objects that<br />

occurs in the Java Bridge implementation.<br />

100<br />

To test the Java Bridge connection:<br />

Create a new PHP script to create a Java object, as in the example below:<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!