added java endpoint file