Netbeans RESTFul web sevices example