java ee 6 project with some rest test code