Which type of beans most closely match the implementation needs for this requirement?

You are designing a bank application in which automated email reminders are sent to customers
every 24 hours, starting from five days prior to a payment due date until the payment is made?
Which type of beans most closely match the implementation needs for this requirement?

You are designing a bank application in which automated email reminders are sent to customers
every 24 hours, starting from five days prior to a payment due date until the payment is made?
Which type of beans most closely match the implementation needs for this requirement?

A.
Stateful session bean

B.
Stateless session bean

C.
Managed bean

D.
Message-driven bean



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Radek

Radek

EJB 3.1 @Schedule can be used on SLSB and MDB
EJB 3.0 programmatic timers can be initialized in SLSB by eg. servlet. It is not possible to initialize MDB.

Stephen Ubogu

Stephen Ubogu

B.using timer service.

Ashishkumar

Ashishkumar

I would say B and D