1 Reply Latest reply on Mar 20, 2009 7:53 PM by Norman Richards

    Multi-user application

    Matthew Edor Newbie

      How does Seam handle multi-user applications? Are Seam components shared or one instance per user? Do I have to use session-scoped or conversation-scoped components to avoid data corruption from another user. The examples in Seam reference and Seam in Action do not mention this, it seems to be taken for granted. I'm new to Seam and use Java Beans components, not EJB.
      Thanks!

        • 1. Re: Multi-user application
          Norman Richards Expert

          Each user has his own session and conversations exist inside of sessions, so components in those scopes are not shared between users.  Application scope is different since there the context is shared throughout the application.  Seam is not changing the normal meaning of those scopes, so you can refer to any Java web reference to understand their meaning.