I thought that the spec didn't allow this either, but I couldn't find any
section saying such. Unless this is part of the conversational state as
defined by section 7.4. But the example doesn't use the variable to
communicate between method calls, nor is it static.
BUt it still doesn't seem correct to me. Would you be so kind as to point
out the parts of teh EJB spec I should review.
Thanks for time,
Lucas
-----Original Message-----
From: Rajeshwar Rao V [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 7:23 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Stateless session beans
No. As per EJB spec..
But Yes,ur code _may_ work fine with JBoss.
Is Jboss not following EJB spec?
-----Original Message-----
From: Eric Jain [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 10:45 PM
To: jboss-user
Subject: [JBoss-user] Stateless session beans
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
-------------------------------------------------------
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
-------------------------------------------------------
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