JBoss AS - Chapter 03 - Deploying EJB 3 Session Beans

From Training Material
Revision as of 16:10, 26 November 2014 by Cesar Chew (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Title
EJB
Author
Bernard Szlachta (NobleProg Ltd)


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