File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java Interview Guide
this week in the
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.
author & internet detective
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.
OCA 8 book
How To Ask Questions The Smart Way
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
I agree. Here's the link:
subject: trans-attribute in ejb-jar.xml for MDB
Starting a client transaction
Configuring transcation timeouts
How to programmatically find if EJB is operating in transaction mode
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015