JEE7 project showing how to access multiple database using a rest service