1 Reply Latest reply on Jun 8, 2007 3:47 AM by fhh

    Event scope question....

    design2006

      hi there,


      I am using Event scope for one entity bean. when user login from the login page, the next page show up wil be "Hello, #{user.userName}".

      But when the welcome page show up, i can't get the username. The reason i use event here is i want to save server resources rather than using stateful.

      Any idea about this ? thanks..

        • 1. Re: Event scope question....

          Well, this is really a Seam question.

          But you do NOT save server resources by using event scope. It is true that you save resources on the app server but you pay for this by a much higher load on the database. And the database layer is the limiting factor in almost any meaningful application.

          Regards

          Felix