O'Reilly logo

Java EE 6 Development with NetBeans 7 by David R. Heffelfinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing our RESTful web service

Once we deploy our project, we can make sure that the web service was deployed successfully by expanding the RESTful Web Services node on our project, right-clicking on our RESTful web service and selecting Test Resource Uri.

Testing our RESTful web service

This action will invoke the findAll() method in our service (since it is the only method that doesn't require a parameter), the generated XML response will automatically open in the browser.

Testing our RESTful web service

There is only one row in the CUSTOMER table of our database, the XML response for our web service displays ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required