[
https://issues.jboss.org/browse/AS7-1674?page=com.atlassian.jira.plugin.s...
]
Thomas Diesler updated AS7-1674:
--------------------------------
Description:
While documenting RESTful endpoints I noticed that
{code:xml}
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
{code}
is needed. Is it not possible to use the annotation index to determine whether a *.war
contains RESTful endpoints?
Component/s: (was: Web Services)
Remove or explain why web.xml is needed for RESTful endpoints
-------------------------------------------------------------
Key: AS7-1674
URL:
https://issues.jboss.org/browse/AS7-1674
Project: Application Server 7
Issue Type: Task
Components: REST
Reporter: Thomas Diesler
Assignee: Bill Burke
While documenting RESTful endpoints I noticed that
{code:xml}
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
{code}
is needed. Is it not possible to use the annotation index to determine whether a *.war
contains RESTful endpoints?
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira