PHP and Java play nice in the Oracle/Zend sandbox

This is not for the faint of heart. You probably knew that when I said Java, but I felt it important to reiterate it. One of the things that makes PHP great is that it is not Java, it is easy to deploy, easy to code and well…easy. There are times however when you need Java. I have seen great examples of using Java to overcome concurrency issues or to access corporate systems that already exist. Sometimes, there is just no way around it. If you are in one of those situations, I’ve got good news for you. Oracle and Zend have put their heads together and come up with a solution that actually works…and works well.

There is a new post over on Oracle’s Technology Network titled “Integrate PHP and Java Applications with Oracle WebLogic Server and Zend Server 5.0” that gives you the low-down on how to integrate Oracle WebLogic Server and Zend Server.

Now, before you go screaming Press Release, this is actually a very complete technical HOWTO written by our good friend Vikram Vaswani. Vikram does his usual great job of walking readers through the intricacies of a very detailed process without slipping into techno-speak.

Now, at first glance, getting PHP and Java to talk nice to each other might seem like an onerous task. However, there’s an easy way to do it: Zend Server, a high-performance, enterprise-ready PHP stack that runs on both Windows and Linux and that comes with a built-in “Java bridge” to connect PHP with JEE applications and services. This article will tell you more, demonstrating just how simple it is to use Zend Server to connect PHP applications with Java classes deployed on Oracle WebLogic middleware.

If you have ever run across a situation where you need to integrate the two environments, or if you are just curious and want to experiment, this article is just what you are looking for. So fire up the downloaders and grab a cup of coffee, it may not be for the faint of heart but it is an interesting way to kill a weekend.