concept actionscopedrequestattribute in category java

This is an excerpt from Manning's book Portlets in Action.
Consider using actionScopedRequestAttribute in your portlet in combination with PortletSession to hold data that’s required across portlet requests. PortletSession keeps data that spans multiple action requests, and actionScopedRequestAttribute mandates that the portlet container keep data between two consecutive action requests. For instance, the search criteria in the Book Catalog portlet spans multiple action requests, so it should be stored in PortletSession. You should, by default, enable the actionScopedRequestAttributes option for your portlets and specify an appropriate default value for numberOfCachedScopes for it. Don’t set a high value for numberOfCachedScopes, because caching action-scoped request attributes will require the portlet container to use more memory and resources to maintain the cache.