Yes, it is practical and I have done it before. You could use the embedded Jetty server to deploy your resources (start your server in your setup()) and then you can invoke the resources in the test and then finally dispose the server in teardown.
-Arul On Wed, Dec 16, 2009 at 7:01 PM, KARR, DAVID (ATTCINW) <[email protected]>wrote: > Is it practical to write unit tests that can simulate the container, > call the jax-rs server with a REST query, and verify the XML/JSON > response that it gets? This would all be in a standalone container. > -- http://aruld.info
