• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design Pattern ambiguity

 
Parth Twari
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hf first edition mock exam.
Q.51 Your company is in the process of integrating several different back office
applications and creating a single web UI to present the entire back office suite to
your clients. The design of the front end will be finished long before the design
of the back end. Although the details of the back end design are still very rough,
you have enough information to create some temporary back end ‘stubs’ to use to
test the UI.
Which design pattern can be used to minimize the overhead of modifying the UI
once the back end is complete?(choose 1)
A. Transfer Object
B. Front Controller
C. Business Delegate
D. Intercepting Filter
E. Model-View-Controller

Given: C
But don't you think the answer is ambiguous. We can have the answer as E as well?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Saloon Keeper
Pie
Posts: 2531
112
Android Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But don't you think the answer is ambiguous. We can have the answer as E as well?

I agree it is questionable. If you implement MVC well you can also change your Model without touching the View.

Regards,
Frits
 
Parth Twari
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
I thought th same thing..
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

but I am thinking BD is spacific answer for this question,
If we use MVC then we can separate view from the controller & model, but business logic for accessing back end you will write in some beans ( suppose in EJB ) but code for invoking EJB we can write in BusinessDelegate class so that we can put a separation between back end technology(Here EJB) and Controller. we can invoke our test stub from bussiness delegate & separate it from back end.

Please currenct me If I am wrong.

 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

There is no single "correct" answer to this question. To implement the Model-View-Controller pattern in a "efficient" and "robust" way, you typically need to implement both the Business Delegate and Front Controller patterns.

So an accurate answer would be B, C, and E.

Also, there are applications of Business Delegate on both the Presentation and Business tiers. So, a Business-tier Business Delegate would not be helpful in any way for the problem specified.

It is a poor question, in my opinion.
 
Parth Twari
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Frank..

may be the question has to follow the 'Unambiguous' pattern

What do you think about this question

another pattern ambiguity
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic