Using J2EE and PHP together
An anonymous reader writes "There's an article in the May issue of the WebSphere Developer Technical Journal at IBM's developerWorks site on Pairing PHP with Java to meet the needs of a familiar web application scenario. The example consists of a Struts application deployed on WebSphere Application Server, which serves as the private content management tool, and a PHP 5 site to display that data to the public. Both parts of the application share a single Apache and DB2 instance."
If you know J2EE then you also should have no problems with Tapestry http://jakarta.apache.org/tapestry/ or JSF.
PHP and JSP and the like are nothing but a parameterised buggy nightmare.
With all due respect, this is quite incorrect. If you re-RTFA carefully, you'll see:
So yes, basically they have a Struts part (hosted by WebSphere acting only as a J2EE Web Container) for the "internal" web site, and a PHP part for the "external" web site. The only things shared are the HTTP server (which invokes the PHP or Struts modules) and the database (which is read by PHP and read/written by Struts).
There is no "middleware" to speak of here.