An existing J2EE Application has following features: Uses a custom made MVC framework using Servlet as controller, JSP as view. JSP has a lot of scriptlet code. It also uses stateless session bean as a facade calling entity beans. You have been asked to migrate this application to a Java EE server. Which of the following technologies would you choose? Select two choices.
-
JSF
-
JCA
-
Java EE Entities
-
JMS
A,C
Correct answer
Explanation
JSF (JavaServer Faces) is the modern Java EE framework that replaces custom MVC frameworks and JSP scriptlets with a component-based UI architecture. JPA Entities (Java Persistence API) replace complex entity beans with simpler POJO-based persistence, eliminating the need for facade session beans. JCA (Java Connector Architecture) connects legacy systems, and JMS handles messaging - neither addresses the stated migration needs.