Java isn’t strictly to do with web development, it’s an entirely different ball game. Java applications can run inside of a web browser though, which means that they’re occasionally used for things like chat applications. However, as Javascript (confusingly, completely unrelated to Java) becomes more powerful thanks to frameworks like Prototype, Java is rarely used anymore. There’s very little you can build for the web in Java that you can’t do in Javascript, and Javascript applications are more widely supported, don’t look like terrible, rarely require an overhead loading period and are easier to develop. Hope this helps!