114
Deploying and Packaging a Service Endpoint
A port component (also called a port) gives a view of the service to clients such
that the client need not worry about how the service has been implemented.
Each port has an associated WSDL.
Each port has an associated service endpoint (and its implementation). The
endpoint services all requests that pass through the location defined in the
WSDL port address.
To begin, the service implementation declares its deployment details in the
appropriate module specific deployment descriptors. For example, a service
implementation that uses a JAX RPC service endpoint declares its details in the
WEB INF/web.xml
file using the
servlet class
element. (See Code Example
3.21.)
...
Endpoint for Some Web Service
SomeWebService
SomeService
com.a.b.c.SomeServiceImpl
0
SomeService
/webservice/SomeService
...
Code Example 3.21
web.xml
File for a JAX RPC Service Endpoint
Note that when you have a service that functions purely as a Web service
using JAX RPC service endpoints, some specifications in the
web.xml
file, such
as
and
, have no effect.
A service implementation that uses an EJB service endpoint declares its
deployment details in the file
META INF/ejb jar.xml
using the
session
element.
(See Code Example 3.22.)
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