How is dispatching controlled in JAX-RS?
I'm writing a RESTful Web Service with RESTeasy. This is an implementation of JAX-RS. You annotate a class or method with a single @Path annotation. Regular expressions are used to get path parameters. For instance @Path("/foo{varname:.*}/bar") matches all patterns starting with "/foo", ending with "/bar" and having anything in be...