Multiple choice technology web technology

An existing J2EE 1.3 application provides online stock quotes to the users. The web page refreshes every 60 seconds to show the latest stock prices. Customer is planning to add some minor features to this site and requested you for tips to improve the current features with minimal costs. Which of the following would you recommend? Choose one answer.

  1. Recode the application using JSF, EJB and Entities. This will improve the overall performance of the application and also improves maintainability

  2. Replace the auto-refresh functionality with AJAX code.

  3. Recode the application using JSF, EJB and Web Services.

  4. Use frames and put the auto-refresh part in a different frame.

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

Replacing the 60-second auto-refresh with AJAX allows asynchronous updates of just the stock prices without reloading the entire page, significantly improving user experience and reducing server load. This is a minimal, low-cost change that delivers immediate value. Complete rewrites with JSF/EJB (options A and C) are expensive overhauls, and frames (option D) are an outdated technique that doesn't solve the core usability issue.