Use jaxrs with annotations see Tika-server 

Sent from my iPhone

> On Jun 13, 2016, at 6:24 PM, Martin Desruisseaux 
> <[email protected]> wrote:
> 
>> Le 14/06/16 à 02:06, Mattmann, Chris A (3980) a écrit :
>> I would use apache cxf it's awesome and easy and supports jsr 311
> 
> Thanks for the link. By browsing a little bit their documentation, it
> seems that CXF is compatible with HttpServlet [1] but does not force to
> use it. Spring seems to have similar approach. Is there inconvenient in
> extending HttpServlet even if the service is going to be used with CXF
> or Spring framework? I presume that an advantage of extending
> HttpServlet would be to enable usage in Tomcat or similar containers for
> those who want it - is this assumption right?
> 
>    Martin
> 
> 
> [1] 
> https://cxf.apache.org/javadoc/latest/org/apache/cxf/transport/servlet/AbstractHTTPServlet.html
> 
> 

Reply via email to