|
|
|
| |
Local
Interfaces
The local interfaces for session and entity
beans provide support for light weight access
from enterprise beans that are local clients.
That is, the bean uses a local interface if
the bean wants to provide tight coupling with
its clients with pass-by-reference semantics.
The local interface is a standard Java interface
that does not inherit from RMI.
Local interfaces provide the foundation for
container managed relationships among entity
beans and session beans. The bean uses the local
interface to maintain its references to other
beans. For example, entity beans use local interfaces
to maintain relationships to other entity beans.
They also allow session and entity beans to
be tightly coupled with their clients. Using
local interfaces, beans can also expose their
state and use pass-by-reference to pass their
state between related bean instances.
[ Submitted by Siddharth Wankade ]
|
|