30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Java Bridge Use Cases<br />

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

This section describes some of the common uses for the Java Bridge. The usage scenarios and<br />

examples discussed here provide a framework for the Java Bridge’s uses, rather than a complete picture.<br />

Real world experience indicates that companies are finding more and more applications for the Java<br />

Bridge, beyond what was initially anticipated.<br />

Usage Scenarios<br />

There are two usage scenarios that describe the most common applications for the PHP/Java Bridge:<br />

Integration with Existing Java Infrastructure - PHP is a fully featured scripting language<br />

engineered to cover virtually all of an enterprise’s requirements. At the same time, many<br />

enterprises have a long history of application development in Java. The Java Bridge enables<br />

enterprises to continue to use their Java infrastructure - applications, databases, business logic<br />

and various Java servers (WebLogic, JBoss, Oracle Application Server, etc.).<br />

Accessing Java Language and Architecture - Some enterprises require the full set of PHP<br />

capabilities, yet have a specific need for select Java based applications. SIP signaling in the<br />

communications industry or JDBC for creating connectivity to SQL databases are two examples<br />

of impressive, industry specific products. The Java Bridge enables enterprises to adopt a PHP<br />

standard and to use their preferred Java based applications.<br />

Activities<br />

This section describes two sample activities that indicate some of what you can do with the PHP/Java<br />

Bridge. In the sample activities, it is important to differentiate between Java and J2EE. The difference will<br />

impact on architecture and in turn, on the script code.<br />

The important differences are:<br />

Java is a programming language. Java applications created in Java for the enterprise are not<br />

bound to a specific framework. Therefore, it is possible and perhaps preferable for an enterprise<br />

to relocate code libraries to the server that runs Zend Server.<br />

J2EE is a structured framework for application scripts developed for J2EE. It is preferable that<br />

J2EE servers be left intact.<br />

217

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

Saved successfully!

Ooh no, something went wrong!