Re: [JBoss-user] Stateless session beans

2003-01-28 Thread Dan Christopherson
8, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Stateless session beans The section germain to the original question is 7.11.8 (2.0 spec) "Non-reentrant instances" The container must ensure that only one thread can be executing an instance at any time. As far as a s

RE: [JBoss-user] Stateless session beans

2003-01-28 Thread Lucas McGregor
: Tuesday, January 28, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Stateless session beans The section germain to the original question is 7.11.8 (2.0 spec) "Non-reentrant instances" The container must ensure that only one thread can be executing an insta

Re: [JBoss-user] Stateless session beans

2003-01-28 Thread Dan Christopherson
o:[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

RE: [JBoss-user] Stateless session beans

2003-01-28 Thread Lucas McGregor
Boss-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

Re: [JBoss-user] Stateless session beans

2003-01-27 Thread danch
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 exp

RE: [JBoss-user] Stateless session beans

2003-01-27 Thread Rajeshwar Rao V
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

RE: [JBoss-user] Stateless session beans

2003-01-27 Thread Sacha Labourey
yes. > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Eric Jain > Envoyé : lundi, 27 janvier 2003 18:15 > À : jboss-user > Objet : [JBoss-user] Stateless session beans > > > Are stateless session beans threadsafe, i.

[JBoss-user] Stateless session beans

2003-01-27 Thread Eric Jain
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

Re: [JBoss-user] stateless session beans cannot call statefulsession beans!!?

2002-07-25 Thread Craig O'Shannessy
> from multiple > > > > transactions to the same instance > > > > > > I am not sure that it means that instances of SLSB are reentrant. > > (spec. 7-11-8) > > > > > > > > > Maris > > > > > > > > > &

RE: [JBoss-user] stateless session beans cannot call statefulsession beans!!?

2002-07-16 Thread Craig O'Shannessy
essage- > > From: Craig O'Shannessy [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, July 16, 2002 12:15 PM > > To: jboss-user > > Subject: [JBoss-user] stateless session beans cannot call > > stateful session beans!!? > > > > > > Hi, > &

RE: [JBoss-user] stateless session beans cannot call stateful session beans!!?

2002-07-16 Thread Maris Orbidans
essy [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 16, 2002 12:15 PM > To: jboss-user > Subject: [JBoss-user] stateless session beans cannot call > stateful session beans!!? > > > Hi, > > I wonder if someone could clear up a problem for me. It seems that a >

[JBoss-user] stateless session beans cannot call stateful session beans!!?

2002-07-16 Thread Craig O'Shannessy
Hi, I wonder if someone could clear up a problem for me. It seems that a Stateless session bean cannot really use a Stateful session bean for two reasons. 1. The stateless bean cannot call remove on the stateful, therefore can't clean it up (see code below) 2. If the stateless bean holds o

Re: [JBoss-user] Stateless session beans with a "little" state

2001-05-06 Thread David Jencks
Hi, I at least don't understand what state you are referring to as necessary to call external resources. How is this different from doing some jdbc-sql in a stateless session bean? Do you want to maintain a pool of "connections" to the corba resource? Possibly you are looking for resource adapt

[JBoss-user] Stateless session beans with a "little" state

2001-05-06 Thread jonas . bergstrom
Hello. This message is more of a design question, sorry if it doesn't belong to this list. Stateless session beans are usually used to implement service-like features, such as a CalculatorBean which might have functionality for doing certain kind of calculations. The Staless session beans work