Java backend application for rest access