An Enterprise JavaBeans (EJB) endpoint URL is used to access
a Web service with the EJB Remote Method Invocation over Internet
Inter-ORB Protocol (RMI-IIOP) transport. The URL specifies the EJB
endpoint, including the EJB home class, the EJB Java Naming and Directory
Interface (JNDI) name, and optional properties.
newfeat Important: The WebSphere® Application Server Version 6.1
Feature Pack for Web Services extends the capabilities of this product
to introduce support for the Java API for XML-Based Web Services (JAX-WS) 2.0 programming model.
JAX-WS is the next generation Web services programming model complimenting
the foundation provided by the Java API for XML-based RPC (JAX-RPC) programming model. Using the strategic
JAX-WS programming model, development of Web services and clients
is simplified through support of a standards-based annotations model.
Although the JAX-RPC programming model and applications are still
supported, take advantage of the easy-to-implement JAX-WS programming
model to develop new Web services applications and clients.
newfeat Supported configurations: The Feature Pack for Web Services only supports
hosting JavaBeans endpoints
within the Web container for JAX-WS Web services applications. To
develop enterprise beans hosted as Web services, you must use the
JAX-RPC programming model. sptcfg
An EJB endpoint URL has the following format:
wsejb:/[classname]?<property>=<value>&<property>=<value>&...
Where:
- wsejb is the transport type
- classname is the name of the home interface class associated
with the EJB to be invoked
- property and value pairs represent the set of required
and optional properties. These properties are used to set certain
values in the EJB endpoint URL. The various properties and definitions
are described in the table.
JNDI-related properties
Property name |
Description |
jndiName |
Specifies the JNDI name of the
EJB. This property is required. |
initialContextFactory |
Specifies the name of the JNDI initial context
factory. This property is optional |
jndiProviderURL |
Specifies the JNDI provider URL. This property
is optional. |