Verifies if the container-managed transaction in the session bean is
following the JSR 220. The container must handle the different types of
exception in the transaction context. The items covered in this test are:
13.3
author: Gisele Pinheiro Souza author: Eduardo Studzinski Estima de Castro
Method Summary
public void
testCallOtherBeanNotSup() Verifies if the container does not use the same transaction when the
other bean has the transaction attribute NOT_SUPPORTED.The bean method throws a runtime exception.
public void
testCallOtherBeanReq() Verifies if the container uses the same transaction when the other bean
has the transaction attribute REQUIRED.The method called
throws a runtime exception.
public void
testUsingClientTrans() Verifies if the container uses the same transaction that the client.
Method Detail
testCallOtherBeanNotSup
public void testCallOtherBeanNotSup() throws Exception(Code)
Verifies if the container does not use the same transaction when the
other bean has the transaction attribute NOT_SUPPORTED.The bean method throws a runtime exception.
throws: Exception - if an error during the tests occurs.
Verifies if the container uses the same transaction when the other bean
has the transaction attribute REQUIRED.The method called
throws a runtime exception.
throws: Exception - if an error during the tests occurs.