A company is embarking on a major new initiative, the creation of an eCommerce, B2C (business
to consumer) application to sell their widgets. As the lead architect, you need to decide whether or
not to use EJBs in the business tier of the architecture. The architecture is as follows: JSP <->
Controller <-> Business logic <-> JPA-based persistence. Which option represents the optimal
solution describing the business tier implementation?
A.
Stateless session beans are required to update values in the database.
B.
Entity beans are necessary to allow the controllers to access the JPA persistence layer.
C.
Message-driven beans are required to decouple the controllers from the persistence tier.
D.
Session beans are required in order to provide unit-of-work, security, and transaction
management semantics to the JPA layer.