EJB Clients

  • clients interacts with Enterprise Beans instances through proxy objects (generated by tools provided by container provider). Commonly, the communication is based on IIOP protocol and proxy objects are regular CORBA stubs
  • the presence of the container wrapping the bean is completely hidden to the client
  • the passivation and activation of bean instances is completely transparent to the client
  • the reference to the bean is acquired from the factory (called "home interface") which is specific for each bean type. The factory is capable for creating new bean instances and finding the existing ones (based on some searching criteria). The reference to the factory itself is obtained using the Java Naming and Directory (JNDI) interface
  • due to selection IIOP as the communication protocol, the bean may also integrate with RMI/IIOP application or even the client written in any programming language supported by CORBA
First Previous Next

Slide: 7