Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do I need all 23 GoF design patterns?

 
Marianna Shapiro
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do I need to know all GoF patterns to pass part I or just some of them?
Thanks.
 
Ian B Anderson
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Marianna,
You should try and learn what each one is (be able to map a simple description to pattern) but really concentrate on the more popular patterns.
Good luck
Ian
 
Gennady Shapiro
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely they will ask about the most common gof patterns used by j2ee. So I sincerely doubt they will ask about flyweigth or interpreter.
What you also have to realize is that they will not go into patterns details, implementations, etc. They'll give you a J2EE element and ask you what GoF pattern it implements, or vice versa.
The design patterns is one of the easy part and you get 2-3 questions on it, no more.
 
Bijan Mohanty
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marianna,
It's always better to know the concepts of all 23 GOF patterns, eventhough only a handfull of patterns will be asked in the exam. If you have the SCEA study guide by Mark Cade, Just go through it for all the design patterns and that should be enough.
My selection for the most popular patterns from an exam perspective will be
1. Abstract Factory
2. Factory Method
3. Singleton
4. Iterator
5. Mediator
6. Observer
7. Proxy
8. Facade
Bijan
 
Marianna Shapiro
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you guys for your quick responses. I read GoF book twice but I still feel like in a fog. Unfortunately I don't have Mark Cade's book but I expect it to come soon.
Bijan: I am going to concentrate on patterns from your list.
Ian: Your mock questions are excellent.
Gennady: Yesterday I read threads you started on this forum. I feel they'll help me a lot for part 2. Great contribution!
 
Sanjay Raghavan
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey I referred a bunch of books for patterns, incl roberts and cade, the applied java patterns and the GoF book.
My recommendation - make sure you understand the motivation, the uml diagram and the collaboration for each pattern. For that GoF is the best.
Didn't really look at the smalltalk code. That's where the other books come in handy.
HTH.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic