A company wants to design an internal website for the purpose of managing its numerous social
events. The site will not have heavy traffic, but will require state to be persisted in a database. You
have been tasked to complete this action item in your spare time.
Which two Java EE-based approaches are best suited for quick development?
A.
Use JPA in the web tier only.
B.
Use message-driven beans to manage the posting of events.
C.
Use your domain model components as JavaServer Faces (JSF) managed beans.
D.
Use an Enterprise javaBeans (EJB) container to service-inject the domain model and support a
JPA deployment.
Explanation:
AC
AB
Company events can be sent via Topic.
B is wrong as there is no heavy traffic so no need to use Enterprise technologies.
Correct answer is AC.
B incorrect but noot need to be assyncronos