An almost simple webapp in Java