JBoss AS - Chapter 03 - Deploying EJB 3 Session Beans

From Training Material
Jump to navigation Jump to search

<slideshow style="nobleprog" headingmark="⌘" incmark="…" scaled="true" font="Trebuchet MS" >

Title
EJB
Author
Bernard Szlachta (NobleProg Ltd)

</slideshow>


See 02_StatelessBean ⌘

Limiting number of beans ⌘

  • run test.sh
  • see jboss.system/listThreads
  • see jboss.j2ee/
  • edit ejb3-interceptors-aop.xml
  • Find configuration for Stateless Bean


Statefull Beans

  • Configured in ejb3-interceptors-aop.xml
  • Can be cached and persisted (saved in a DB)
  • But cannot be shared in a pool as they have state