Applications invoke an EJB Server component using a stub or proxy object. The stub or proxy acts as a local surrogate for the remote component; it provides the same method signatures as the component and hides the details of server communication. Stubs and proxies are available for:
Java (EJB) Any component can be invoked via a Java stub class. The Adaptive Server plug-in generates source code for Java stubs. At runtime, your client program instantiates the stub. When you call methods on the stub class, the stub transparently invokes the component method on the EJB Server. Using HTML pages, Java applets, and EJB Server’s built-in HTTP support, you can create “zero-install” applications that have no client-machine installation requirements other than the presence of a Java-capable Web browser.
EJB Server supports the EJB Java client model.
EJB Your program uses the JavaSoft EJB (javax.ejb) classes and EJB Server’s EJB stubs to call EJB Server component methods. This client model follows the EJB 1.1 Specification.
Chapter 7, “Creating Enterprise JavaBean Clients,” describes how to implement EJB clients.