OK, here's the easiest question for the day for those of you who have ever done this. I'm learning Java and I heard that Java can be used to build websites. I am coming from a PHP background, so I would really appreciate using a strongly-typed well-designed language like Java for web development. However, either I can't get my search keywords right, or there's not a single guide out there that will explain what I actually need to do to build websites in Java.
For PHP, I would need to install Apache and PHP, or a nice package like WAMP, and start putting php files in the web root.
What is Java's equivalent?