CHAPTER 2

image

EJB Session Beans

This chapter will discuss EJB session beans, the core business service objects used by EJB client applications. You’ll gain an understanding of the simplified EJB session bean model with insights into the following topics:

  • Types of session beans—stateful, stateless, and singleton—and when to use each one
  • The bean class, business interfaces, and business methods
  • Asynchronous methods
  • Callback methods
  • Interceptors
  • Exception handling
  • Client view
  • Dependency injection with annotations related to session beans
  • Timer service

Introduction to Session Beans

Session beans are Java components that run either in stand-alone EJB ...

Get Beginning EJB 3: Java EE 7 Edition now with O’Reilly online learning.

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