Welcome!

PHP Authors: Suresh Krishna Madhuvarsu, RealWire News Distribution, Maureen O'Gara, Onkar Singh, Raymond Feng

Related Topics: Java, SOA & WOA

Java: Article

Bridging Java, PHP, and SOA

Idea of Working with PHP and WebSphere Leads to Java Thoughts

Blogger Daniel Krook has been thinking out loud about how to bridge Java and PHP. His thought process started with posts about working with PHP and the IBM WebSphere SOA application development environment. In that line of thinking was the idea of building a bridge between PHP and Java.

Krook writes:

"In essence, a PHP-Java bridge enables PHP developers to access Java code from within their applications and vice versa. The benefit is that you can reuse libraries or services deployed on one platform from code that exists in a different environment.

"This differs from the standard approach of using an HTTP server front end to route individual requests for PHP scripts or J2EE applications. The PHP or Java application can instead call the other without the HTTP server’s involvement.

"While you can always use Web service APIs to communicate between your applications over HTTP, PHP-Java bridges provide a method to access the external application’s API directly from the source code. As such, they are much more efficient than traditional network calls."

Krook also very helpfully provides links to what he describes as "three major projects" involving PHP and Java to various degrees:
Krook's entire post can be found at his blog.


More Stories By Java News Desk

JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Java News Desk 05/24/07 10:30:44 AM EDT

In essence, a PHP-Java bridge enables PHP developers to access Java code from within their applications and vice versa. The benefit is that you can reuse libraries or services deployed on one platform from code that exists in a different environment.