• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Doubt about timer method and methods allowed in a SFSB

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everybody,

...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
 
Ranch Hand
Posts: 244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suppose the timer methods are related to javax.ejb.TimerService and NOT to the fact that the ejb can be a TimedObject or not: so you can schedule a timer but you can't BE a timer.
 
Honk if you love justice! And honk twice for tiny ads!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic