There are four scope types available until now: Logic, Request, Session and Application.
This scope is a wrapper for the Request scope. It lives until the user receives the response.
It is the defaults scope
You can access the RequestContext object throught dependency injection.
It can also be used with dependency injection:
public class MyLogic { private RequestContext reference; public MyLogic(RequestContext reference) { this.reference = reference; } }
This scope is a wrapper for the Session scope. It lives until the session expires (see Session Timeout on the servlet specification).
This scope accesses the servlet context a.k.a. application scope.