Developing a RESTful web service client
NetBeans provides a wizard that can automatically generate client code that invokes
our RESTful web service methods via the corresponding HTTP requests.
To generate this client code, we simply need to click on File | New File , then select
the Web Services category and RESTful Java Client as the file type.