Chapter 3 Service Endpoint Design
115
Some Enterprise Bean
SomeBean
com.a.b.c.SomeIntf
com.a.b.c.SomeServiceEJB
Stateless
Container
...
Code Example 3.22
ejb jar.xml
File for an EJB Service Endpoint
Next, the details of the port are specified. The Web service deployment
descriptor, called
webservices.xml
, defines and declares the structural details for
the port of a Web service. This file contains the following information:
A logical name for the port that is also unique among all port components
(
port component name
element)
The service endpoint interface for the port (
service endpoint interface
element)
The name of the class that implements the service interface
(
service impl bean
element)
The WSDL file for the service (
wsdl file
element)
A
QName
for the port
(wsdl port
element)
A correlation between WSDL definitions and actual Java interfaces and defi
nitions using the mapping file (
jaxrpc mapping file
element)
Optional details on any handlers
The reference to the service implementation bean, specified using the
service impl bean
element in
webservices.xml
, is either a
servlet link
or an
ejb link
depending on whether the endpoint is a JAX RPC or EJB service end
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