I notice that Glassfish allows you to use a web.xml to deploy a web
service - as in the example below taken from the sample
devtests/webservice/annotations/warservice.
In the structure of this web.xml, the servlet-class references the
Service Implementation Bean.
Is this type of web.xml defined as a standard in one of the JSRs, or is
the a Glassfish-specific deployment method?
<web-app xmlns="
http://java.sun.com/xml/ns/javaee"
xmlns:j2ee="
http://java.sun.com/xml/ns/javaee"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" version="2.5"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<description>WebTier for the Hello Service</description>
<display-name>HelloWAR</display-name>
<servlet>
<description>Endpoint for Hello Web Service</description>
<display-name>HelloWebService</display-name>
<servlet-name>Hello</servlet-name>
<servlet-class>endpoint.Hello</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Hello</servlet-name>
<url-pattern>/webservice/HelloService</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>54</session-timeout>
</session-config>
</web-app>