[jbosstools-issues] [JBoss JIRA] (JBIDE-12633) Support for JAX-RS Application subclassing with configuration in web.xml

Isaac Rooskov (JIRA) jira-events at lists.jboss.org
Sun Oct 14 20:24:02 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-12633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isaac Rooskov closed JBIDE-12633.
---------------------------------

    Resolution: Done


Re-closing now release note text has been written
                
> Support for JAX-RS Application subclassing with configuration in web.xml
> ------------------------------------------------------------------------
>
>                 Key: JBIDE-12633
>                 URL: https://issues.jboss.org/browse/JBIDE-12633
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Webservices
>    Affects Versions: 4.0.0.Alpha1
>            Reporter: Xavier Coulon
>            Assignee: Xavier Coulon
>              Labels: new_and_noteworthy
>             Fix For: 4.0.0.Alpha2
>
>
> As described in https://docs.jboss.org/author/display/AS7/JAX-RS+Reference+Guide, the plugin should support the following use case:
> {quote}
> Subclassing javax.ws.rs.core.Application and using web.xml
> If you do not wish to use @ApplicationPath but still need to subclass Application you can set up the JAX-RS mapping in web.xml:
> {quote}
> {code}
> public class MyApplication extends Application {
> }
> {code}
> {code}
> <servlet-mapping>
>    <servlet-name>com.acme.MyApplication</servlet-name>
>    <url-pattern>/hello/*</url-pattern>
> </servlet-mapping>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list