O'Reilly logo

Beginning EJB 3: Java EE 7 Edition by Chirag Rathod, Peter Zadrozny, Jonathan Wetherbee, Raghu Kodali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required