[jax-rs-spec users] Re: JAX-RS Routing

From: Santiago Pericas-Geertsen <>
Date: Tue, 5 Nov 2013 09:47:57 -0500


 I'm not sure what you're referring to as routing in this case. Are you talking about "matching" a URL with a Java resource method? I'm also a bit confused about the "web server" part.

 In any case, there's an algorithm in the spec that describes the matching process, but each implementation has a different implementation of it.

-- Santiago

On Oct 31, 2013, at 1:24 PM, wrote:

> Is there any reason that the JAX-RS spec does not provide a default
> routing implementation as well as UriBuilder? I am interested in
> trying to write a web server that conforms to JAX-RS but I wouldn't
> trust myself to implement routing to spec. I could pull in Jersey or
> RESTEasy but that seems a bit much just for routing.
> Personally I would think routing is something you would want only one
> implementation of. This way you know requests will behave the same
> across different frameworks.
> Thanks,
> Bill