This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Common Architectures mock question? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Common Architectures mock question?" Watch "Common Architectures mock question?" New topic
Author

Common Architectures mock question?

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844

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?

SCJP 1.4, SCWCD 5, SCBCD 5, OCPJWSD 5,SCEA-1, Started Assignment Part 2
My blog- http://rkydesigns.blogspot.com
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Where did this question come from? We ask people to post their sources.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
This is from Sun's Epractice.
Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 844
Any SCEA expert?
wong sheena
Greenhorn

Joined: Apr 07, 2007
Posts: 23
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

Joined: Jul 17, 2008
Posts: 844
Thanks it clears me kind of. But the question and answers seem to be confusing at the first instant read.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Common Architectures mock question?