3 Replies Latest reply on Apr 24, 2007 7:25 PM by pmuir

    basic question

    statelessbean

      hi,
      i don't understand docs:
      "Seam serializes processing of concurrent requests that take place in the same long-running convesation context, in the same process."

      Can any one explain me in points, how to well form app, to prevent app from concurent requests?

        • 1. Re: basic question
          pmuir

          Seam essentially does this for you - requests don't hit the bean concurrently, they are serialized.

          What is your concern?

          • 2. Re: basic question
            saeediqbal1

            my concern is the technical jargon in it. can you break it down for us peter? please

            • 3. Re: basic question
              pmuir

              Ok, so this is how *I think* it goes, but someone correct me if I'm wrong :)

              1) Stateful beans cannot be accessed concurrently (you get a ConcurrentAccessException)

              2) Seam solves this by serializing (queueing) accesses to the component so you don't hit this problem (with the provisos

              requests that take place in the same long-running convesation context,


              I'm guessing the OP wasn't asking about this, but I'm not sure ;)