[
https://issues.jboss.org/browse/JBIDE-13312?page=com.atlassian.jira.plugi...
]
Brian Fitzpatrick commented on JBIDE-13312:
-------------------------------------------
[~petemuir] I have the code now working so that it generates the cleaner application class
with the annotation as specified in JBIDE-13309. If the user WANTS to update the web.xml,
how much of this stuff is necessary? It seems to run just fine with it in there and
without it.
Unnecessary code generated in web.xml
-------------------------------------
Key: JBIDE-13312
URL:
https://issues.jboss.org/browse/JBIDE-13312
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.0.0.Final
Reporter: Pete Muir
Assignee: Brian Fitzpatrick
Fix For: 4.2.x
The new RESTful Webservice wizard is generating a load of unnecessary stuff in the
endpoint
{code}
<servlet>
<servlet-name>Resteasy</servlet-name>
<servlet-class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Resteasy</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
<context-param>
<param-name>javax.ws.rs.Application</param-name>
<param-value>org.jboss.samples.rs.webservices.MyRESTApplication</param-value>
</context-param>
<listener>
<listener-class>org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap</listener-class>
</listener>
{code}
None of this is needed
--
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