hi all..
i just gave the chapter mock
test on design
patterns, from the david bridgewater book. the test had 15 qestions and i got 8 correct.
i really recommend that every exam taker should take this test as once can expect as many as 8 questions in the real exam.
the questions from this chapter test are really good and make you think a lot.In fact they tell things what arent told in HFSJ desugn patterns chapter. I am summarizing the things that i learnt from that chapter mock test -
1. whenever a HFSJ reader sees the
word 'cache' the only design pattern that comes to his mind is 'Service Locator'. But david bridge
water's book tells - "Business Delegate can cache business data i.e. results of business method calls." The book further says "Service locator caches references to remote objects". So all HFSJ readers, remember that Business delegate too can show some type of
caching behaviour. Note the differnce between the caching behaviour of both the patterns.
2. also, HFSJ says Service Locator overcomes code duplicity that is encountered in the Business Delegate. i.e. Service locator helps to reduce the amount of code. David Bridgewater says that Intercepting Filter also helps to reduce the amount of code - this is so because you can put all 'request tracking code' in a sigle filter class rather than putting it in each and every
servlet. The book also says, Business Delegate too helps to reduce code ( same way as service locator ).
That was all i wanted to share,
i am in the 2nd reading of the book, hope to finish it soon and buy the voucher take the date and appear for the real thing.
thanks
one more thing, is the pattern Data Value Object ( note that this is not a equivalent name for Transfer Object ) included in the exam objectives ???
Please reply.
Thanks.