A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
How to specify a Transaction Timeout in a Web Application
Joined: Jan 30, 2009
Mar 14, 2009 21:51:33
How to specify a Transaction Timeout in a Web Application ??
If it is a
application transaction timeout can be specified in a xml file like this :
<transaction-descriptor> <trans-timeout-seconds>60</trans-timeout-seconds> </transaction-descriptor>
How do i achieve this for a Web application ??
Waiting for your responses.
If you want something you never had do something which you had never done
Joined: Nov 22, 2004
Mar 15, 2009 05:43:02
As such we don't have any configuration within the web.xml for Transaction timeout handling.
Joined: Feb 24, 2006
Mar 15, 2009 07:58:30
You can do this with
because some methods are meant to run under transactions. The same is not the case for a thread instance of a
do not run in their own transaction.
SCJP 6 articles
SCJP 5/6 mock exams
More SCJP Mocks
I agree. Here's the link:
subject: How to specify a Transaction Timeout in a Web Application
Timeouts in ejb
How to catch EJB Transaction Timeout?
*URGENT* Boundary of trans-timeout-seconds
how can I specify EJB timeout?
Urgent - Implementing correct time-outs
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015