O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

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

Creating Server-Side Beans: The Home Interface

A client program contacts a server and requests that the server create an Enterprise JavaBean to do data processing on its behalf. The server then creates the server-side object (the EJB component instance) in response, returning a proxy object (the EJB object) whose interface is the same as the EJB components and whose implementation performs remote method invocations on the client's behalf. Then the client uses the EJB object as if it were a local object, oblivious to the fact that all the work is actually being done by a remote object.

How are objects on a server created by a client program? The EJB container is responsible for the operations involving the lifecycle of server-side beans. The container ...

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