Generating a RESTful web service from
an existing database
To create a RESTful web service from an existing database, in a web application
project, we simply need to select File | New , then pick the Web Services category
and the RESTful Web Services From Database file type.
In the next step in the wizard, we need to pick a datasource and select one or more
tables to generate our web service. In our example, we will generate a web service for
the CUSTOMER table of the customerdb database.