This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
You have a method that cannot be executed in a transaction. What is the correct attribute in the deployment descriptor? 1.not supportted 2.never ans. is 2, but I think 1 is not bad. please clear my question if wrong. thanks in advance
i agree, - no suported suspends the actual trasaction (if exists) but always execute the method. - Never mens containers throw a RemoteException if the method excecutes inside a transactional context
So if you want the methods always execute outside a transaction, not superted is your choice if you want the methos never execute inside a transaction and throw an exception if you try to excecute inside one ... never is your choice.
This is an interpretation problem, " cannot be executed in a transaction" .. i asume a method must exceute always outside the transactions boundaries.
Santiago Urrizola : La Plata - Argentina<br />SCEA (89%-92%)<br /><a href="http://gpitech.wordpress.com/" target="_blank" rel="nofollow">http://gpitech.wordpress.com/</a>