Java main application (webapp)