You remember how it all works, right?

Getting and using a stateful session bean

This picture shows what happens after the client does a lookup in JNDI and gets the home stub. In other words, it shows the client getting and then using a bean. This picture is still too high-level, though, so we’ll go a lot deeper later in this chapter. For example, we’ll cover what really happens between step two (home object gets the client’s create() call) and step four (home makes the bean). The exam expects you to know just exactly what’s involved in “makes the bean”.

image with no caption

Stateful Session Bean


image with no caption


(business method call)

image with no caption

Get Head First EJB now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.