Simple web application in Java