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 message-driven beans to manage the posting of events.
B.
Use your domain model components as JavaServer Faces (JSF) managed beans.
C.
Use an Enterprise javaBeans (EJB) container to service-inject the domain model and
support a JPA deployment.
D.
Use JPA in the web tier only.
Please explain answer or share any valid reference
BD may be correct answer.
Ref : http://www.swview.org/blog/best-way-use-jpa-web-tier