Statefull session bean are attached to a client instance. In NO case should
it be shared.

Regards,

Stephane

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alban
Soupper
Sent: Wednesday, October 29, 2003 3:18 PM
To: JBoss User (E-mail)
Subject: [JBoss-user] Transactions on Stateful beans


Hi all,

I have some difficulties with the transactions on Stateful beans.
My client may spawn many requests in a very short time, and the request
processing accesses some controllers (My stateful beans).
This leads sometimes to an exception: "Application Error: tried to enter
Stateful bean with different transaction context", due to the fact my
request processors
access all at the same moment to my controllers.

1- Is there a way, to specify in JBoss, that we can have concurrent access
on the stateful beans ?
        - if yes, what could the traps?
2- Is there a way, to check if a stateful is currently involved in a
transaction?

Bonus:
3- Is there a way, to know if a stateful bean is still alive ?

Thanks by advance,
Alban.


*****************************************************************************
******

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager to [EMAIL PROTECTED]

*****************************************************************************
******



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to