The @TransactionAttribute annotation can be used to signify what kind of transaction handling is expected. Below you will see an example on how to do this.
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public void txIsRequiredOnMe {
}