118
Deploying and Packaging a Service Endpoint
The Web service deployment descriptor location depends on the type of ser
vice endpoint, as follows:
I
For an EJB service endpoint, the Web service deployment descriptor is pack
aged in an EJB JAR in the META INF directory as
META INF/webservice.xml
I
For a JAX RPC service endpoint, the deployment descriptor is packaged in
a WAR file in the WEB INF directory as
WEB INF/webservices.xml.
See Figure 3.10, which shows a typical package structure for a Web service
using an EJB endpoint. Figure 3.11 shows the typical structure for a Web service
using a JAX RPC endpoint.
EJB JAR
META INF
wsdl
WSDL file
ServiceIntf
JAX RPC mapping file
ServiceImpl
ejb jar.xml
Other class files
webservices.xml
platform specific ejbjar.xml
Figure 3.10
Package Structure for EJB Endpoint
footer
Our web partners:
Inexpensive
Web Hosting
Java Web Hosting
personal webspace
webspace php
linux webhost
html web templates
DreamweaverQuality Web Templates
PSD Web Templates
cheap webhost
j2ee web Hosting
buy webspace
ftp webspace
adult webspace
frontpage WebHosting
webspace hosting
cheap webhost
Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved
webhosting