[jax-rs-spec users] Re: A standard WebContainer API

From: Marek Potociar <>
Date: Tue, 3 Jul 2012 14:20:42 +0200

I think we won't be able to standardize on a common container API due to the schedule constraints in JAX-RS 2.0, but in general it is a very good suggestion. Can you please file a new Jira issue for the future reference?


On Jun 29, 2012, at 11:43 PM, Antonio Goncalves wrote:

> Hi all,
> I'm discovering the new JAX-RS 2.0 APIs and running some samples. I also write some integration test to make sure my REST services work as expected. For that, I can use several proprietary APIs to launch and embedded servlet container and expose my services. I was reading the JAX-RS 2.0 specification and couldn't see and standard API for the web container (such as EJBContainer in EJB 3.1). It would be great to have a standard WebContainer API that would allow us to deploy a REST service in a standard way.
> I just don't know if this should be done in Servlet 3.1 or in JAX-RS 2.0.
> What to you think of that ?
> --
> Antonio Goncalves
> Software architect and Java Champion
> Web site | Twitter | Blog | LinkedIn | Paris JUG