Well the URL you have sent is one of the answers. :)
Also in Java you have LAMJ (Linux, Ajax, MySql, Jsp) :)
So in compare with LAMP you have JSP instead of PHP.
But in Java we are not talking about web scripting. We are talking
about a Platform (JME, JSE, JEE) and specially enterprise
applications. How can we compare PHP with JAVA technologies?! Java
supports from smart cards, hand helds to enterprise servers. We are
talking about a standard and unified APIs and containers for
developing mobile applications, FAT applications, n-tier
applications & Middle Tier Services, legacy integration, mobile
agents, etc.
PHP may be compared by JSP. If we assume that JSP han no relation
with all those APIs, services, protocols and technologies in Java. :)