README revision ada1678a4262b208a7b87391f520a7767d25287c
f38cb554a534c6df738be3f4d23327e69888e634John Wren KennedyThis tests the rollback logic of transaction. An EJB webservice is invoked by a servlet. This webservice method uses REQUIRED TX_Attribute.
f38cb554a534c6df738be3f4d23327e69888e634John Wren KennedyHere is the flow-
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy1. Standalone client invokes a servlet
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy2. Servlet creates table CUSTOMER_rb1
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy3. Servlet starts a UserTransaction
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy4. Servlet adds a row in the CUSTOMER_rb1 table
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy5. Servlet calls the EJB webservice
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy6. EJB webservice adds a row in the CUSTOMER_rb1 table
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy7. Servlet rollback the transaction
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy8. It is checked that the data is not updated in the table.
f38cb554a534c6df738be3f4d23327e69888e634John Wren Kennedy9. Table CUSTOMER_rb1 is dropped