|
Seams scopes are defined as listed below
| Scopes
| Description |
| Application |
Available for the entire life of the application |
| Session |
Available during the user session |
| Conversation |
Like the session scope, but mechanism to start and end conversation. That is multiple or nested conversations could exist within a single session |
| Page |
The page or view representation, through post back, and terminates on redirect or navigation to another page |
| Event |
This is comparable to the standard servlet request scope. |
| Stateless |
Component is instantiated for each name resolution. Does not hold state |
There is also the business process scope that persists through server recycling.
Seam component types have default scopes as listed below.
| Component
Type
| Default Scope |
| EJB Stateful Session Bean |
Conversation |
| Entity Bean |
Conversation |
| EJB Stateless Session Bean |
Stateless |
| EJB Message Driven Bean |
Stateless |
| JavaBean (POJO) |
Event |
|