How to build an (Java) application which can be accessible using a web browser?