Design Patterns - Question ID :999998515240 (JWeb+)
Allan Moster
Ranch Hand
Joined: Sep 14, 2001
Posts: 153
posted
0
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: 2912
posted
0
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. -Paul. ------------------ SCJP2, SCWCD Resources, Free Question A Day, Mock Exam Results and More! www.jdiscuss.com Get Certified, Guaranteed! JQPlus - For SCJP2 JWebPlus - For SCWCD JDevPlus - For SCJD
I am confident that it is MVC. "Multiple views using the same Model" can be achieved using MVC. Thanks! Satish Kolli, SCJP2.
tom chu
Greenhorn
Joined: Oct 25, 2001
Posts: 3
posted
0
I think it is MVC.
Sonia Virmani
Greenhorn
Joined: Sep 25, 2001
Posts: 22
posted
0
I agree with tom. All books say so.
Charith Fernando
Ranch Hand
Joined: Sep 12, 2005
Posts: 67
posted
0
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...