How do you write games or any web application ? I'm just curious, if you want to use Java instead of PHP, you can use a servlet for login but what about the other things ? When you want to update the database with something the user inputs, or to display something. I saw some Java browser games (not applets), or even forums.
I don't want a tutorial, i was hoping someone can give me a short description on how can you write something like a browser game in Java, what would you use.