users@jersey.java.net

Jersey as a filter or servlet

From: John Lister <john.lister_at_kickstone.com>
Date: Mon, 02 Aug 2010 16:24:29 +0100

I was wondering if there are any benefits or disadvantages to using
Jersey as a filter compared to running it as a servlet? It would seem to
me the only difference is that the filter mapping code gets called
before the servlet ones, which depending on your needs is either a good
thing or not.

Just wondered what people thought and used.

Thanks

John