Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Design patterns, what's your strategy to memorize it?

 
Sergio Figueras
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

There's something that I'm doing that is working in some cases (Bambara's book and Whizlabs) that I don't know if anybody is doing this or not.

I'm just not studying design patterns, because I've a lot of problems in memorize things that I don't use usually. I know only a few of them (top 5, as Fa├žade, Proxy, Adapter, etc). So, when I need to answer design patterns questions I'm marking the most correct answer (without any technical skill about them) and that's working. I'm with rating like 60% ~ 70% on Design Patterns topic.

But I'm studying other topics a lot. So my results in Whizlabs are between 78% and 85%.

Just a remind, my objective today is to pass on 807 exam, I know that I`ll need design patterns in the next steps, but it's another chapter for me. First, I need 807. And I think that'll be easier to study design patterns in practice and with fewer problems.

There's anyone which is not studying design patterns too? Anyone knows how much design patterns questions have in the 807 exam?

Best!
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From others who have taken the 807, apart from those design patterns explicitly covered in the exam objectives, the gang of four patterns and core j2ee presentation patterns are covered.

So knowing these will help. The books describes those patterns in details
* Alur, Crupi and Malks (2003). Core J2EE Patterns: Best Practices and Design Strategies 2nd Edition
* Gamma, Erich; Richard Helm, Ralph Johnson, and John Vlissides (1995). Design Patterns: Elements of Reusable Object-Oriented Software

During my studying, I make a table for the patterns listing:
name, intent/purpose, class structure/sequence, advantages and disadvantages

The key is the purpose and able to recognize some of the pros and cons. With enough understanding the pros and cons will be kinda obvious.


Edit: By the way, you may or may not get lots of questions in design patterns since every topic is supposedly evenly distributed. Yet understanding patterns in general should help you in your daily design role and later the assignment/essay.
 
Sergio Figueras
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K. Tsang wrote:From others who have taken the 807, apart from those design patterns explicitly covered in the exam objectives, the gang of four patterns and core j2ee presentation patterns are covered.

So knowing these will help. The books describes those patterns in details
* Alur, Crupi and Malks (2003). Core J2EE Patterns: Best Practices and Design Strategies 2nd Edition
* Gamma, Erich; Richard Helm, Ralph Johnson, and John Vlissides (1995). Design Patterns: Elements of Reusable Object-Oriented Software

During my studying, I make a table for the patterns listing:
name, intent/purpose, class structure/sequence, advantages and disadvantages

The key is the purpose and able to recognize some of the pros and cons. With enough understanding the pros and cons will be kinda obvious.


Edit: By the way, you may or may not get lots of questions in design patterns since every topic is supposedly evenly distributed. Yet understanding patterns in general should help you in your daily design role and later the assignment/essay.


Hi K. Tseng,

Thank you for your reply. Just one question about it: all the GoF patterns are required on OCMJEA 6 1z0-807? Because in the objective they say only those: Service Starter, Singleton, Bean Locator, Resource Binder
Dependency Injection, Payload Extractor, Context Holder
Thread Tracker
Facade, Strategy, Observer, Composite, Abstract Factory

Do I need to learn all the GoF too? The exam covers all the patterns instead of only the announced ones?

Thanks again!
 
K. Tsang
Bartender
Posts: 3585
16
Android Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Believe it or not. Well that's what I've seen from others who took 807 exam.

Since I didn't take the 807 exam so I can't be the judge how accurate this statement is.

Think about you definitely not to know all GOF or core J2EE patterns to pass the exam, just the ones that pop up. Yet not able to answer any patterns correctly, how will this affect the end result?
 
Mike Degteariov
Ranch Hand
Posts: 145
8
Java Mac MySQL Database Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sergio,

For the exam, you need to be able to recognize usage scenario and to map it to the most likely candidate GoF pattern.
You do not need to know how to draw a class diagram or a sequence diagram for the patterns, or to know every small detail about them,
like name of participating components etc. Yet you need to make sure you understand when to use what.

I do not think anyone here knows for sure the scope of GoF patterns used for exam questions -
I saw a bunch of GoF patterns when I was taking my exam back in June, but you may see a different bunch.

Also note that besides GoF patterns there are also presentation tier patterns from
Deepak Alur book, patterns from Adam Bien book, and certain antipatterns from Bitter Java and Bitter Ejb.
 
Sergio Figueras
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K. Tsang wrote:Believe it or not. Well that's what I've seen from others who took 807 exam.

Since I didn't take the 807 exam so I can't be the judge how accurate this statement is.

Think about you definitely not to know all GOF or core J2EE patterns to pass the exam, just the ones that pop up. Yet not able to answer any patterns correctly, how will this affect the end result?


Hi K. Tsang, thank you for your reply!

Of course I believe in you, and you're correct! I've seen other topics and a lot of people told the same: the patterns covered are from the book and the presentation patterns from Core J2EE Patterns (Deepak Alur).

But by the way, that's really strange!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic