Using Java as a backend and PHP as a front end
<p>There are already a few posts on SO discussion whether this architecture is a good idea or bad idea.  For many reasons within our company including the existing programming talent, we've decided to use Java for the backend and PHP for the front end.  Our objective is something like...</p>

<p>Java - Models/Controllers</p>

<p>PHP - Views</p>

<p>We're working on building a prototype of the interaction between Glassfish and Apache.  One thing we're still working on is when a user visits <a href="http://domain.com/login.html">http://domain.com/login.html</a> and they login, that login will be sent to the Glassfish controller which exists somewhere like <code>/login.java</code>.  We can do that no problem, the trouble is getting the view to be rendered at that URL.</p>

<p>Has anyone does this with PHP or any other technologies?</p>
