(Cecile is my first name and SAINT-MARTIN my last name)

I don't understand what you want to do. What's your goal?

SAINT-MARTIN Cecile
[EMAIL PROTECTED]

> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de
> Boris Garbuzov
> Envoye : mercredi 20 juin 2001 17:32
> A : [EMAIL PROTECTED]
> Objet : [JBoss-user] no concurrency calls
>
>
> Thanks, Saint-Martin. What if I operate on a collection of
> stateful beans of same type having some equals() or
> compareTo() method? I can not compare an instance with itself?
> How to redesigh it then?
>
> -----------------
>
>
>
> Message: 7
> From: "Saint-Martin Cecile" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: RE: [JBoss-user] General EJB question.  no concurrent
> calls on stateful beans
> Date: Wed, 20 Jun 2001 09:05:59 +0200
> Reply-To: [EMAIL PROTECTED]
>
> Session stateful are designed to communicate with one and only one client,
> because they keep a conversational state with it.
> So, an instance shouldn't be accessed by several differents
> clients. If you
> don't need conversational state, use stateless bean.
>
> SAINT-MARTIN Cecile
> [EMAIL PROTECTED]
>
> > -----Message d'origine-----
> > De : [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]De la part de
> > Boris Garbuzov
> > Envoye : mardi 19 juin 2001 23:19
> > A : [EMAIL PROTECTED]
> > Objet : [JBoss-user] General EJB question. no concurrent calls on
> > stateful beans
> >
> >
> > In my SomeRemote interface I have a method operating on peer:
> > void minus (SomeRemote other) throws RemoteException;
> > It works fine on a different instance
> > myRemote.minus (otherRemote);
> > but fails on the same
> > myRemote.minus (myRemote);
> > java.rmi.ServerException: RemoteException occurred in server
> > thread; nested exception is:
> > java.rmi.ServerException: Transaction rolled
> > back:java.rmi.RemoteException: Application Error: no
> > concurrent calls on stateful beans
> > I think, I can get around, but generally it is hard. For
> > instance, if having remote equals method
> > the client application should watch not to call it with the
> same instance?
> >
> >
> >
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to