1 Reply Latest reply on Nov 15, 2005 5:28 AM by kk null

    synchronize

    Martin Ganserer Novice

      Hello,

      just a short question. I have stateless session beans in my app. The client (jsp/servlet) calls business methods from my stateless beans. Do I have to surround the calls with a synchronize block?

      synchronized(req.getSession())
      {
       Foo foo = fooManager.getFooById(id);
      }


      Thank you very much!