I have to choose a server pages technology for a few server components that are written in Java and hosted by Tomcat, like Lucene search service and a flex BlazeDS graphic component.
Not sure whether to use JSP or PHP.
On one hand JSP can integrate with the components Java API easily while PHP will require another way of integration like XML or a bridge that might introduce a performance overhead.
On the other hand PHP seem to be faster to develop and, not sure but, more used and supported lately.