0 Replies Latest reply on Jun 15, 2007 4:20 PM by Jose Miguel Loor

    Session scoped data

    Jose Miguel Loor Apprentice


      I am developing an application with a4j and richFaces; but i have noticed that many of the components (for example, dynamically created links or dataTables) need that the data they are accesing is placed in a session scope

      Because of that i have separated the methods (for example, an action that queries the data in the database) from the data (the data returned by the method is placed in some other bean in session scope)

      Than way, the components are in request scope, and the data in session scope so i would hope that the application doesn't crashes for memory issues

      But i would like to know if there is something else i can do so i dont use so extensively the session scope or if is something that can be done to make sure that the session scoped beans that hold the data are cleaned from time to time

      thanks a lot