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.)
<





New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

 

Our web partners:  Jsp Web Hosting  Unlimited Web Hosting  Cheapest Web Hosting  Java Web Hosting  Web Templates  Best Web Templates  Web Design Templates  Interland Web Hosting  Cheap Web Hosting  Filemaker Web Hosting  Tomcat Web Hosting  Quality Web Hosting  Best Web Hosting  Mac Web Hosting

 
 

Virtualwebstudio. Business web hosting division of Vision Web Hosting Inc. All rights reserved

Web Hosting Apache