There is a discussion going on right now on TheServerSide.com that was started by Peter Yared who was the former CTO of Sun, discussing the possibility that Java EE may lose out to Open Source based alternatives, and alternative development technologies and platforms, such as LAMP based technologies like PHP.