|
Problem(Abstract) |
What is the HandleDelegate SPI? |
|
|
|
Resolving the
problem |
The javax.ejb.spi.HandleDelegate service provider
interface defines methods that enable portable implementations of Handle
and HomeHandle that are instantiated in a different vendor’s container to
serialize and de-serialize EJBObject and EJBHome references. The
HandleDelegate interface is not used by enterprise beans or J2EE
application components directly. EJB, web and application client
containers provide implementations of the HandleDelegate interface.
The HandleDelegate object is accessible in the client J2EE component’s
JNDI namespace at the reserved name “java:comp/HandleDelegate”.
Portable implementations of Handle and HomeHandle must look up the
HandleDelegate object of the container in which they are instantiated
using JNDI at the name “java:comp/HandleDelegate” and use the
HandleDelegate object to serialize and de-serialize EJBObject and EJBHome
references. |
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|