Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Design Patterns - Question ID :999998515240 (JWeb+)  RSS feed

 
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Enthuware Software Support
Ranch Foreman
Posts: 4135
34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am confident that it is MVC.
"Multiple views using the same Model" can be achieved using MVC.
Thanks!
Satish Kolli, SCJP2.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is MVC.
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with tom. All books say so.
 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!