Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timer service and Session Beans

 
Kram Nart
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Question :2 Which two types of beans support Timer service?

a) Stateless session beans

b) Stateful session beans

c) Message Driven Beans

d) Entity Beans


I thought it was just (a) and (c). Why is (b) correct as well?



The source is Skills Guru.




 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4512
274
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please QuoteYourSources.
 
Katrin Perry
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just in case you still not sure.
b) is not correct.
According to EJB core specification: - "Timers can be created for stateless session beans, message-driven beans, and 2.1 entity beans.
Timers cannot be created for stateful session beans[94] or EJB 3.0 entities"

Regards
Katrin
 
Kram Nart
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Katrin Perry wrote:Hi,
Just in case you still not sure.
b) is not correct.
According to EJB core specification: - "Timers can be created for stateless session beans, message-driven beans, and 2.1 entity beans.
Timers cannot be created for stateful session beans[94] or EJB 3.0 entities"

Regards
Katrin


Thanks. I know it's a mistake on this free mock exam question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic