Chapter 29. The Session Bean
This chapter presents the first type of enterprise bean, called the session bean, by first explaining what a session bean is and then discussing two types of session beans: stateful and stateless. After a discussion of the API, you develop the Tassie project, a simple EJB (Enterprise JavaBeans) application that demonstrates the use of session beans and shows how to write a client application that uses the bean.
What Is a Session Bean?
A session bean is an enterprise bean that implements business logic for its clients. For example, a session bean can perform calculations (as you saw in the example in Chapter 28, “Enterprise ...