Multiple choice technology web technology

ABC Company has decided to migrate existing J2EE application built using servlets, JSP, JMS, session & entity Beans to Java EE. They have approached you for recommendations. Which of the following are valid recommendations? Select two choices. Choose at least one answer.

  1. Replace entity beans with JPA entity classes

  2. Use the new JMS API

  3. Replace session Beans with web services

  4. Use JCA

Reveal answer Fill a bubble to check yourself
A,B Correct answer
Explanation

JPA entity classes (option A) replace complex entity beans with simpler POJO-based persistence, reducing boilerplate. The JMS API in Java EE 5+ (option B) was significantly simplified with annotations and fewer interfaces, making it worthwhile to adopt. Replacing session beans with web services (C) changes the architecture unnecessarily, and JCA (D) is only needed for legacy system connections - not mentioned.