cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Redko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6132) Provide JAX-RS ServletContextInitializer
Date Sat, 24 Jan 2015 19:56:34 GMT

    [ https://issues.apache.org/jira/browse/CXF-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290799#comment-14290799
] 

Andriy Redko commented on CXF-6132:
-----------------------------------

Hi Sergey,

I already have a small prototype working for simplest use cases! Unfortunately, I have a couple
of regressions caused by your commit "Adding few CXFNonSpringJaxrsServlet utility constructors"
/ 9e6e0ea422536f384e07f5ac6bb002201a9120c6. In particular, CXFNonSpringJaxrsServlet throws
an exception when instantiating application instance in some cases. Additionally, there are
issues with preserving application path (caused by the same commit). Would you mind if I fix
those issues as well while working on current one? 

Also, I am thinking about adding new module at rt/rs called 'servlet'. The reason for that
is the necessary metadata which should be packaged along with JAR file (META-INF/services)
that may cause unexpected behavior for existing applications if packaged into frontend. What
do you think, make sense to you (any other name / place are welcome)?

Thank you!

Best Regards,
    Andriy Redko


> Provide JAX-RS ServletContextInitializer 
> -----------------------------------------
>
>                 Key: CXF-6132
>                 URL: https://issues.apache.org/jira/browse/CXF-6132
>             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] https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-jetty/src/main/java/org/ops4j/pax/web/service/jetty/internal/JettyServerWrapper.java#L303
> [2] http://docs.oracle.com/javaee/7/api/javax/servlet/ServletContainerInitializer.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message