Java project on building web application with access to database