Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Common Architectures mock question?" Watch "Common Architectures mock question?" New topic

Common Architectures mock question?

Amandeep Singh
Ranch Hand

Joined: Jul 17, 2008
Posts: 850

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-
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33106

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

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Amandeep Singh
Ranch Hand

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

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

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: 850
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:
subject: Common Architectures mock question?
It's not a secret anymore!