Originally posted by Kiran Gunda:
Generally containers throw the TimeoutException only after the thread completes ...
Originally posted by Kiran Gunda:
I set the transaction timeout (say 20secs).
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Originally posted by Kiran Gunda:
So client does NOT get the 'TimeOutException' as soon as the Timeout period is elapsed. If the thread is stuck due to some problem in your business logic,
Originally posted by Kiran Gunda:
(a) create a small thread program, which makes the remote method call on the session bean. So I call this thread program instead of calling the session bean directly. The thread comes out once the time out is expired.. This way my program doesn't stuck if the remote method call doesn't turn back in time..
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Originally posted by Kiran Gunda:
... Timers need to be started in each cluster separately..etc)...
www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
I am not sure if other containers (Websphere..) has the same limitation on transaction timeouts..
Don't get me started about those stupid light bulbs. |