rest-service read data from DB (NetBeans tutorial)