On 3/6/2014 8:46 AM, Santiago Pericas-Geertsen wrote:
>
> On Mar 5, 2014, at 3:07 PM, Bill Burke <bburke_at_redhat.com> wrote:
>
>> Honestly, I don't see why we should have support for this in JAX-RS. Let the servlet spec handle it.
>
> Would you mind elaborating on this? I don't know of many developers that would prefer to use servlets over JAX-RS for anything, including new features like SSE.
>
So, JAX-RS is no longer a REST framework, but now a replacement for
servlets? Are you going to add WebSocket support? Http UPGRADE
support? How about security constraints? Forwards? Are you going to
create your own JAX-RS WAR type so you can bundle static files?
Keep REST stuff in JAX-RS, keep everything else in Servlet spec.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com