dWebSpec Dictionary
CONTEXT: descriptors->behavior-define->define-scope




All Details Standard Only Platform Only
Structured Web info and helpTechnologies
 Home Page
 Product Page
 Download Page
 Feedback
Javascript Tree Menu

Results for:

 behavior-define.define-scope 
Prev  Topic  Next

The scope definition for the object defined. The common scopes are Application, Session, Request, Page and Stateless.

 Seam  

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
Prev Next