Thanks for the suggestion, Elephantwalker. Will look into the facade class
used in pet store application.
Regards,
Vani

>From: "The elephantwalker" <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: RE: Concurrent calls to Session bean methods
>Date: Tue, 19 Mar 2002 20:31:38 -0800
>
>Vani,
>
>You can use the petstore trick. Use a facade class which sychronizes each
>call to your session bean. That should do the trick.
>
>This is a _famous_ problem with session beans.
>
>regards,
>
>the elephantwalker
>www.elephantwalker.com
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Vani H.S.
>Sent: Wednesday, March 20, 2002 12:04 AM
>To: Orion-Interest
>Subject: Concurrent calls to Session bean methods
>
>
>Hello All,
>
>   I have been trying to deploy an application consisting of session beans
>and mdbs onto orion1.5.4.
>   But I seem to run into deadlocks, because my session bean gets called
>concurrently. Please can anybody can tell me if there is a setting to allow
>concurrent calls so that, when a session bean method is called at one time,
>the EJB container blocks the concurrent method call and allows it to
>proceed
>when the previous call has completed?
>   If not, how should this problem of concurrent calls be handled in orion?
>   Please help.
>Thanks,
>Vani
>
>
>
>
>
>The allow-concurrent-calls element specifies whether a stateful session
>bean
>instance allows concurrent method calls. By default,
>allows-concurrent-calls
>is false. However, when this value is set to true, the EJB container blocks
>the concurrent method call and allows it to proceed when the previous call
>has completed.
>
>
>
>
>
>_________________________________________________________________
>Join the world’s largest e-mail service with MSN Hotmail.
>http://www.hotmail.com
>
>
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


Reply via email to