This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. 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