O'Reilly logo

Applied Enterprise JavaBeans™ Technology by Kevin Boone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

3.4. Distributed and local EJB semantics

Clients of EJBs interact only with the container’s proxies, not the EJB implementation itself. This applies whatever a client happens to be, even if it is itself an EJB in the same application. Typically, the client locates the proxy that implements the factory interface and makes a create() or find() call on it. This factory proxy then provides the client with a reference to a proxy that implements the business method interface, which the client then uses for all subsequent method calls.

In EJB 1.1, all calls on these proxies were considered to be network (RMI) calls, even when EJBs were located in the same JVM. EJB 2.0 allows for the provision of both remote and local (same JVM) proxies, as will be ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required