Methods annotated @Timeout in the enterprise bean class must return void and optionally take a javax.ejb.Timer object as the only parameter. They may not throw application exceptions.
@Timeout public void timeout(Timer timer) { System.out.println("TimerBean: timeout occurred"); }