EJB endpoint URL syntax

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.

Important: IBM® WebSphere® Application Server supports the Java API for XML-Based Web Services (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 the 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.
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. Use these properties to specify the JNDI information for the EJB endpoint URL.
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.



Related tasks
Using WSDL EJB bindings to invoke an EJB from a JAX-RPC Web services client
Reference topic Reference topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 4:16:02 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-dist&topic=rwbs_ejburl
File name: rwbs_ejburl.html