Hi all. I created EJB 1 that calls EJB 2 that calls EJB 3. if EJB 3 transactions are Required. Is there any contraint as far as what transaction properties do EJB 2 and 1 have to have?
No. A method marked as "Required" will cause a new transaction to be started if it's not in a transaction already. If the method is called from within an existing transaction, then it will use this existing transaction and not start a new one.
Rich Raposa<br /><a href="http://www.javalicense.com" target="_blank" rel="nofollow">http://www.javalicense.com</a><br />Buy Java courseware -> get a free XBox!