O'Reilly logo

Seam in Action by Dan Allen

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 4. Components and contexts

This chapter covers

  • Defining Seam components using annotations
  • Hooking into component life-cycle events
  • Using EJB session beans as Seam components
  • Accessing instances of Seam components

This chapter introduces the components and contexts that Seam manages. If you’ve worked with the Spring Framework, the idea of declaring managed objects should be familiar to you. In Seam, however, you replace all uses of the word bean with the word component. Like Spring, Seam boasts similar capabilities to define, configure, and instantiate components. In one regard, you can think of Seam as a lightweight container. It doesn’t force you to code to container-specific interfaces, require you to adopt a special programming ...

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