JBoss Community

Timers on stateful sessions. JBoss 6 M4

reply from jaikiran pai in Beginner's Corner - View the full discussion

Estanislao Musulin wrote:

 

java.lang.UnsupportedOperationException: stateful bean  doesn't support TimerService (EJB3 18.2#2)]

Like the message says, as per EJB3 spec, timers cannot be created for stateful session beans. You can use timers with stateless, singleton and message driven beans.

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community