Multiple choice technology architecture

Users of your new application are complaining that the new web front end does not perform the same as the thick client version they were using before. You are going to re-design the application to use JavaScript and AJAX to enhance the user experience. All the functionality and business logic in thick client will be coded into Java Script. What are two drawbacks of this implementation?

  1. Portability to all browsers needs to be addressed.

  2. Your code may be exposed.

  3. Reduction of page refreshes to enhance user experience.

  4. Simulating client state on the browser and reducing the number of views.

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

Moving all business logic to JavaScript creates two main problems: (1) Portability must be tested across all browsers since JavaScript implementations and DOM APIs vary, requiring extensive cross-browser testing and compatibility layers, and (2) Client-side code is inherently exposed to users who can view source, debug, and potentially exploit logic or extract proprietary algorithms. Options C and D are benefits (reduced refreshes, client state simulation), not drawbacks.