+

Search Tips   |   Advanced Search

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 model and the JAX-RPC model. JAX-WS is the next generation Web services model extending the foundation provided by the JAX-RPC model. Using the strategic JAX-WS model, development of Web services and clients is simplified through support of a standards-based annotations model. Although the JAX-RPC model and applications are still supported, take advantage of the easy-to-implement JAX-WS 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


Table 1. JNDI-related properties

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





 

Related tasks


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