I have a question on
EJB's Required New transation attribute.
The book says that Require New means to suspend the client's transaction, and start a new transaction when invoking the method.
My question is, when using a single database, if the client did some updates to the database and then call EJB's method, how the Transaction Manager suspend the client's transaction context?
For Example, the client update the table CUSTOMER, and then call PayEJB.pay(), which has a Required New attribute and the the transaction failed. Would the rollback undo the updates in CUSTOMER?
Thanks!