| Author |
TimerService in EJB 3
|
Fisher Daniel
Ranch Hand
Joined: Sep 14, 2001
Posts: 582
|
|
Hi all, I am reading EJB 3 Core Specification. I have a question regarding stateful session bean. In Chapter 4 section 4.4.1 and table 1 regarding Operations Allowed in the Methods of a Stateful Session Bean. In that table we see that Timer methods can be accessed inside business methods, afterBegin callback, and beforeCompletion callback. However, in the next page, there is a statement like below "The TimerService interface is unavailable to stateful session beans." In my mind, Timer methods is only defined in TimerService interface. So at this point, what does "Timer methods" mean? Regards, Daniel
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
It's the javax.ejb.Timer interface, not timer methods of TimerService.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Senthil Kumar
Ranch Hand
Joined: Mar 13, 2006
Posts: 264
|
|
|
if we don't have access to Timerservice in stateful session beans , then why do we need Timer methods at all?.
|
when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
|
 |
 |
|
|
subject: TimerService in EJB 3
|
|
|