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 支援 Java API for XML 型 Web 服務 (JAX-WS) 程式設計模型和 Java API for XML 型 RPC (JAX-RPC) 程式設計模型。JAX-WS 是延伸 JAX-RPC 程式設計模型所提供之基礎的下一代 Web 服務程式設計模型。
當使用策略性 JAX-WS 程式設計模型時,透過支援標準型註釋模型,簡化了 Web 服務和用戶端的開發工作。
雖然仍支援 JAX-RPC 程式設計模型和應用程式,但請利用易於實作的 JAX-WS 程式設計模型來開發新的 Web 服務應用程式和用戶端。
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.
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. |