Are stateless session beans threadsafe, i.e does the following code behave
as expected?

  public class TestBean
    implements SessionBean
  {
    private int tmp;

    // should always return true
    public boolean f()
    {
      tmp = 1;
      boolean b = tmp == 1;
      tmp = 0;
      return b;
    }
  }


--
Eric Jain



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to