Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
It is sorta covered in the
JavaRanch Style Guide
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
Urgent - Implementing correct time-outs
how can I specify EJB timeout?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013