public class TestBean implements Test, TimedObject
public void ejbTimeout(Timer timer)
Which of the following statements are true?
a. Only stateless session bean can implement the TimedObject interface.
b. It is not legal to define the transaction attribute 'MANDATORY' on the ejb timeout
c. None of the above
Can a stateful bean implement TimedObject? please confirm
"Know where to find the solution and how to use it - that's the secret of success."
According to a)
Only the SLSBs, MDBs an 2.1 Entity beans can use TimerService.
Accroding to b)
Callback timeout methods can have only the following transaction attributes: REQUIRED, REQUIRES_NEW, NOT_SUPPORTED. Therefore is not legal to define the MANDATORY propagation level for this method.