Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Common Architectures mock question?

 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Internal users of your new application are complaining that the new web front end does not perform the same as the thick client version they where using before. You are going to re-design the application to use readily available JavaScript libraries including AJAX to enhance the user experience. This will require large library downloads to the client and introduce volumes of JavaScript.


What are three drawbacks of this implementation? (Choose three.)

A. Portability to all browsers with minimal re-work for cross browser compatibility.
B. Readily available development tool kits to support automated testing, debugging, re-factoring.
C. Reduction of page refreshes to enhance user experience.
D. Simulating client state on the browser and reducing the number of views.
E. Maintainability will be decreased by removing flow from Java source to JavaScript.

I selected B,C,D.

The correct answers are-
Options A, B, E are correct.
Option C is incorrect because using AJAX and JavaScript libraries will allow you to design a client that can mock state and minimize page refresh to simulate thick clients.
Option D is incorrect because simulating the client state is a way to address the thick client.

I get it C, D are wrong answers.
B I can agree somehow, for javascript there are not that many tool kits compared to java code.

But how can you say that A,E are drawbacks of this implementation. In reality they look as advantages. Can any expert clear my confusion on this?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34084
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did this question come from? We ask people to post their sources.
 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is from Sun's Epractice.
 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any SCEA expert?
 
wong sheena
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A) Each browser(chrome , firefox , ie) might react different to javascript. Therefore, a slight rework might be needed.

E) Ajax might be acting like a controller which control the flow. Therefore you will have controller in java and javascript.
 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks it clears me kind of. But the question and answers seem to be confusing at the first instant read.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic