Monday, April 07, 2008

April San Francisco Java Meetup - Quercus: How to Run PHP on Java

Similar to Jython, and JRuby, Quercus, a 100% Java implementation of PHP 5 allows running PHP applications on a Java VM.

Caucho (the maker of Resin) is positioning this as a PHP/Java bridge which
  1. allows PHP applications to be deployed over a Java application server and leverage Java infrastructure: JDBC, JMX, Web Bean (JSR 299), EJB, etc. WordPress was deployed over Quercus in few minutes .
  2. allows Java to use PHP as view component, in the face of the larger adoption of dynamic languages (PHP, Python, Ruby) for Web applications.

I have not tried but it must be possible to deploy your PHP applications with Quercus, OC4J and the Oracle database.