jsr370-experts@jax-rs-spec.java.net

Re: servletless jaxrs in Java EE

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Thu, 22 Jan 2015 15:22:37 +0000

Is that going to be a new WADL, Swagger plus some new policy like
extensions ?
On 21/01/15 21:07, Bill Burke wrote:
> This is sort of on the same level as my Servlet.nextgen comment in an
> earlier thread. The idea here is that there would be a new deployable
> jaxrs archive type in Java EE. There would need to be a way to describe
> metadata in XML:
>
> * all JAX-RS annotations could instead be specific in XML
> * JAX-RS annotatiosn could be overriden in XML
> * Would need a way to define security constraints like in servlet spec
> * Would need to define authentication mechanisms and how they are
> configured.
> * Would need some APIs to come into JAX-RS. (i.e. being able to find
> Client IP Address, some kind of Servlet Context equivalent to get info
> about the deployment.
>
> An alternative reaction to all this could be to get some JAX-RS
> extensions to Servlet spec so that you could define JAX-RS metadata
> within web.xml, etc..
>
> I'm just throwing this out there for discussion.
>


-- 
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com