How to create RESTful Web service with Netbeans