cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-6132) Provide JAX-RS ServletContextInitializer
Date Tue, 27 Jan 2015 11:18:34 GMT


Sergey Beryozkin commented on CXF-6132:

Hi Andriy 
The whole point of CXF-5702 was to make that change to CxfNonSpringJaxrsServlet, you can check
the difference, I had to revert a servlet change given that a system test started failing.
Basically if CxfNonSpringJaxrsServlet is loaded it means ApplicationPath is ignored by default
(the parameter is null) which is a spec compliance thing (the preference of a servlet path
over the application path). The side-effect is that if people do want to use ApplicationPath
when loading Application with CxfNonSpringJaxrsServlet then they need to explicitly set that
property with a value false. Hope it clarifies it. It can be confusing all right :-)

Many thanks for getting the initial code for the initializer in

Thanks, Sergey 

> Provide JAX-RS ServletContextInitializer 
> -----------------------------------------
>                 Key: CXF-6132
>                 URL:
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Andriy Redko
>             Fix For: 3.0.4, 3.1.0
> This will offer an advanced support for the auto-discovery of JAX-RS Application, root
resources and providers in OSGI in combination with pax-web-jetty.
> Options:
> - dynamically register the implementation as OSGI service
> - ship a static implementation
> [1]
> [2]

This message was sent by Atlassian JIRA

View raw message