EJB 2.0 overview
In this section, we have a short look at the new and changed function in EJB 2.0. More details are presented in Chapter 2, “EJB architecture and concepts” on page 33.
An EJB client never directly interacts with an EJB object. The client uses the component interface, which defines the methods that are available to the client. The implementation of this interface is provided by the container.
Without having the new local interfaces, the container has to provide only one implementation of this component interface—an implementation for invocations over a network protocol, because the EJB client has to be a remote client. If the EJB client and the EJB object itself are in the same Java Virtual Machine (JVM), an ...