Multiple choice technology programming languages

Why would you design a J2EE application so user data is entered by way of a JavaServer Page and managed by an underlying JavaBeans class?

  1. To make the user interface more interesting.

  2. To simplify application deployment.

  3. To prevent malicious programs from gaining access to sensitive information on your database server.

  4. To make the application much easier to update, maintain, and manage

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Separating user data entry (JSP) from business logic (JavaBeans) follows the Model-View-Controller pattern, making applications easier to maintain and update. Changes to the UI (JSP) don't affect business logic (JavaBeans), and vice versa. This is about maintainability, not security, deployment, or visual interest.