permaculture playing cards
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Design Patterns - Question ID :999998515240 (JWeb+) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Design Patterns - Question ID :999998515240 (JWeb+)" Watch "Design Patterns - Question ID :999998515240 (JWeb+)" New topic

Design Patterns - Question ID :999998515240 (JWeb+)

Allan Moster
Ranch Hand

Joined: Sep 14, 2001
Posts: 153
You are designing a complex webapp that uses multi tier architecture. The application must provide interfaces for HTML as well as XML and should be maintainable.
Which design pattern would you use?
Suggested answer was Business Delegate but authors qualified they have no clear idea on what the correct answer is.
I say the answer is MVC. Any thoughts?
Paul Anilprem
Enthuware Software Support
Ranch Hand

Joined: Sep 23, 2000
Posts: 3635
The confusing point was "multi tier architecture" and "maintainable". One of us who got a "similar" question, answered MVC and thinks that this was the one he got wrong.
I would really appreciate if others also comment on this so that we can agree on the correct answer.
SCJP2, SCWCD Resources, Free Question A Day, Mock Exam Results and More!
Get Certified, Guaranteed!
JQPlus - For SCJP2
JWebPlus - For SCWCD
JDevPlus - For SCJD

Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
satish kolli

Joined: Sep 21, 2001
Posts: 24
I am confident that it is MVC.
"Multiple views using the same Model" can be achieved using MVC.
Satish Kolli, SCJP2.
tom chu

Joined: Oct 25, 2001
Posts: 3
I think it is MVC.
Sonia Virmani

Joined: Sep 25, 2001
Posts: 22
I agree with tom. All books say so.
Charith Fernando
Ranch Hand

Joined: Sep 12, 2005
Posts: 67
I think the same.... MVC is the answer... i think in that question what we have to concentrate is the multiple views that we have to maintain ex: HTML XML///

i'm currently studying for the SCWCD... what do we do if we have a question like this confusing and which has been given a wrong answer in the books...

Charith I Fernando<br />SCJP5, SCWCD, SCBCD, BSc(Hons) IS<br />+94 773 263 222 (mobile)
I agree. Here's the link:
subject: Design Patterns - Question ID :999998515240 (JWeb+)
It's not a secret anymore!