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.

About Cal Evans

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PCs. For the past 10 years, Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is happily married to wife 1.32, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at and is the founder and host of Nomad PHP