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

Jaroslav Jankovič (JIRA) jira-events at lists.jboss.org
Mon Oct 1 11:24:03 EDT 2012


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

Jaroslav Jankovič closed JBIDE-12633.
-------------------------------------



Verified in JBT 4.0.0.Alpha2-v20120928-0052-B17
                
> 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