O'Reilly logo

EJB 3 in Action by Derek Lane, Reza Rahman, Debu Panda

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 5. Learning advanced EJB concepts

This chapter covers

  • EJB internals
  • Dependency injection of the @Resource annotation
  • Crosscutting concerns with interceptors
  • Task scheduling with the EJB timer

In the previous two chapters we focused on developing session beans and message-driven beans (MDBs). Although we discussed a few bean type-specific features in detail, we generally avoided covering topics not closely related to introducing the basics. In this chapter we build on the material in the previous chapters and introduce advanced concepts applicable to MDBs and session beans. It is very likely that you’ll find these EJB 3 features extremely helpful while using EJB in the real world.

We begin by discussing the how containers provide ...

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