Network Deployment (Distributed operating systems), v8.0 > Reference > Sets


EJB endpoint URL syntax

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

IBM WAS supports the JAX-WS programming model and the Java API for XML-based RPC (JAX-RPC) programming model. JAX-WS is the next generation web services programming model extending the foundation provided by JAX-RPC. Using the strategic JAX-WS programming model, development of web services and clients is simplified through support of a standards-based annotations model. Although JAX-RPC and applications are still supported, take advantage of the easy-to-implement JAX-WS programming model to develop new web services applications and clients.

An EJB endpoint URL has the following format:

wsejb:/[classname]?
<property>=
<value>&amp;
<property>=
<value>&amp;...
Where:

JNDI-related properties

JNDI-related properties. Use these properties to specify the JNDI information for the EJB endpoint URL.

Property name Description
jndiName JNDI name of the EJB. This property is required.
initialContextFactory Name of the JNDI initial context factory. This property is optional
jndiProviderURL JNDI provider URL. This property is optional.

Use WSDL EJB bindings to invoke an EJB from a JAX-RPC Web services client

+

Search Tips   |   Advanced Search