EJB Runtime Operation (How EJBs Work)

As mentioned in the discussion of RMI, RMI is a foundation technology that forms the basis for other Java technologies. RMI is an enabling technology for EJBs. Alternatively, EJBs conceptually extend RMI and add additional capabilities. In fact, EJBs build on and use a number of Java capabilities and technologies, which are reflected in Figure 24-8

Figure 24-8. EJB technologies.

Client applications that access EJBs do not access the EJB directly; they access the bean indirectly through a proxy object. A client application uses a naming service to look up the home interface (an EJBHome implementation) for the ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.