dev@jersey.java.net

RE: [Jersey][WebDAV] Different handling of lax=true

From: Markus KARG <markus.karg_at_gmx.net>
Date: Fri, 16 Jan 2009 20:12:08 +0100

For ISVs like us this is a real problem: We need to ensure that our
applications are working on any implementation of Java EE 6. So both
solutions are not possible:

* Jersey-Filters will not work since the customer's server possibly is not
using Jersey at all but a different JAX-RS provider.

* Servlet-Filters will not work since the customer's server possibly is
using a JAX-RS provider which is not based on Servlets.

So from the theory, you solution sounds great. But in practice, we still
have no solution. That is bad. So I really appeal to change the JAX-RS
specification that either JAX-RS must be prefixable by Servlet-Filters or
contains another pluggable filter technology to be implemented by any JAX-RS
implementation. I do not see that it would be a big hurdle to change the
spec and fix this, but it would be a huge benefit for ISVs (I know, must
users are not ISVs and do not have this kind of problems).

Thanks!
Markus

> -----Original Message-----
> From: Paul.Sandoz_at_Sun.COM [mailto:Paul.Sandoz_at_Sun.COM]
> Sent: Freitag, 16. Januar 2009 14:56
> To: dev_at_jersey.dev.java.net
> Subject: Re: [Jersey][WebDAV] Different handling of lax=true
>
>
> On Jan 15, 2009, at 8:44 PM, Markus KARG wrote:
>
> > Silly me. ;-)
> >
> > BTW, is that guaranteed to work together in all Java EE 6 servers? I
> > mean,
> > AFAIK an implementation of JAX-RS is free to not base it on
> > Servlets, so
> > maybe there could be a Java EE 6 server that is not able to apply a
> > Servlet
> > filter in front of JAX-RS, can that be the case? That would be bad.
> >
>
> Tis true. JAX-RS does not mandate that Servlet be used but does state
> what is required if servlet is used. Note that we have not completed
> the specification of JAX-RS for EE 6, but i don't recall we were going
> to mandate that EE 6 use Servlet.
>
> Paul.
>
>
> > Thanks
> > Markus
> >
> >>> Well... Filters sounds good but actually (maybe I am blind) I have
> >>> not seen
> >>> something like that in the JAX-RS specification...?
> >> You sight is fine :-) There is nothing in the JAX-RS specification.
> >> You can use servlet filters or Jersey specific filters.
> >
> > Regards
> > Markus
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> > For additional commands, e-mail: dev-help_at_jersey.dev.java.net
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: dev-help_at_jersey.dev.java.net