File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Doubt about timer method and methods allowed in a SFSB
Joined: Apr 26, 2002
Jun 22, 2008 01:42:00
...perhaps my thinking's getting fuzzy...thanks for helping me putting the pieces of the puzzle together.
According to the core specs. par. 4.4.1 "Operations Allowed in the Methods of a Stateful Session Bean Class", a business method of a SFSB can have access to timer methods.
According par. 18.2, only SLSB and MDB and 2.1 Entity beans can be registered to the timer service. Timers cannot be created for SFSB or entities.
What am I missing ? Why should a SFSB access timer methods for ?
Thanks in advance - Cheers - Nicolas
Joined: May 14, 2007
Jun 24, 2008 03:18:00
I suppose the timer methods are related to
and NOT to the fact that the
can be a
or not: so you can schedule a timer but you can't BE a timer.
SCJP<br />SCWCD 1.4 Upgrade (Remember: me stupid)<br />SCWCD 1.4<br /><a href="http://jcp.org/aboutJava/communityprocess/final/jsr220/index.html" target="_blank" rel="nofollow">SCBCD 5.0</a><br /><a href="http://www.enthuware.com" target="_blank" rel="nofollow">SCBCD 5.0 mock exam</a> <br /> <br />SCEA 5 Part1: Preparing...
subject: Doubt about timer method and methods allowed in a SFSB
operations allowed in the methods of Stateful session bean
questions on SFSB?
Doubt on TimerService API
Timers and Stateful Session Beans
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015