This behavior is according to the spec.
Boris Garbuzov wrote:
> 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?
>
I'd be concerned about making remote calls that are as fine grained as
you imply. There are performance implecations here.
-danch
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user