Your company wants to leverage its distributed silos. Your job is to seamlessly integrate your application's web service endpoints with its DAOs. In addition , your coarse-grained Controller Locators must be enhanced to support J2ME, UDDI registries.
Which design pattern can be used to achieve these design requiremnets?
A. Domain Activator B. Intercepting Observer C. Composite Delegate D. Transfer Facade
My first reaction was . Then I realised the HF book's title is not HF SCWCD. The authors were trying to teach us a new pattern in their usual style but not covered by the exam.
I didin't heard the lot of patterns patterns specified in the Q options. But if the HF decided to name this pattern I sure it must be composite delegate as one pattern try to cover all the layers ( As a pattern is logical thing, anybody can define their own pattern which suite their own need). In my opinion some MVC like architecture is best fit for this problem.
Given a scenario description with a list of issues, select a pattern that would solve the issues. The list of patterns you must know are: Intercepting Filter, Model-View-Controller, Front Controller, Service Locator, Business Delegate, and Transfer Object. Match design patterns with statements describing potential benefits that accrue from the use of the pattern, for any of the following patterns: Intercepting Filter, Model-View-Controller, Front Controller, Service Locator, Business Delegate, and Transfer Object.
Joined: Aug 27, 2003
Originally posted by Narendra Dhande: But if the HF decided to name this pattern I sure it must be composite delegate as one pattern try to cover all the layers.
That seems to be a lucky guess! Can you throw some more light on this?
you will notice that the 'composite delegate' is not listed on the website. and, as Vishwa Kumba pointed out, this pattern is not covered by the scwcd exam requirements. also, the other three choices to this question are not listed at the core j2ee website either.
my feeling is that, for purposes of exam preparation, we have to just ignotre this question. can someone confirm this?
David Chait<br />scjp 75%, scbcd 90%
Joined: May 10, 2004
oops, i should have done a search before posting.
this question was already dealt with on this forum:
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Joined: Aug 27, 2003
I am not sure if I am allowed to disclose this.
To my surpise, I thought, I got this exact question, when I took the actual exam a couple of days ago!!!What a coincidence!
I never understood this question before, hence didn't bother to read it completely. I could remember the words in the question and the answer given in the HF book, so was about to select the Composite Delegate pattern. But since, I had lots of time in the exam, I marked this question and came back to it at the end. When I re-read the question, the question appeared to be slightly different from what was given in the HF book! The answer was one of the patterns covered by the exam objectives! In fact, a very easy one!......
I must admit, that was very smart by the exam authors! But luckily I didn't fall for it!