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
EJB and other Java EE Technologies
trans-attribute in ejb-jar.xml for MDB
Joined: Sep 10, 2007
May 30, 2008 07:54:00
could anyone pls tell me the significance of
"trans-attribute" if set to:
1) "NotSupported" :
I have written MDB which has DB transaction to populate values from DB table, which attribute is suitable in this scenario.
Thanks in advance.
Joined: May 26, 2003
May 30, 2008 18:55:00
"Not supported" means the MDB won't use a transaction. "Required" means the MDB will use a transaction. "Supported" does not apply to MDBs. In a session bean, it is used to mean the caller may or may not supply a transaction.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
subject: trans-attribute in ejb-jar.xml for MDB
How to programmatically find if EJB is operating in transaction mode
Configuring transcation timeouts
Starting a client transaction
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013