This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
1.A session bean(bean1)'s method, with Required Attibute of Transaction 2. it call a entity bean's setXX("")(ex:setAccount("")) 3.call bea1.remove(),then happens the error,as if is not successful in Step 2. 4.when i switch the Required attribute to Support in Step 1, and it Did! why? Thanks a lot.
In step 3, what is bea1? do you mean session bean or entity? You said an error occurred. Could you explain more detail about the nature of the error (what kind of exception, etc.) That would help in answering your question.