This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I am preparing for OCE JEE6 and along with that I want to learn some Software developments steps/techniques/patterns in java.
While I was searching around I found these 2 books
1. Head First Object-Oriented Analysis & Design.
2. Head First design patterns.
Read some of the content of both the books on google and really like the first 4-5 pages.
Can anyone tell me Is these books are regarding same topic or they are different and if they are same then which one to follow and if they are different then which one is focused on what? .
I want to purchase both.
I have a number of the "Head First" books and I like their approach, so either of these books could be helpful to you, depending on what you are looking for. I don't have the OO book, but I would assume it does what it says on the cover:
how to analyze, design, and write serious object-oriented software: software that's easy to reuse, maintain, and extend; software that doesn't hurt your head; software that lets you add new features without breaking the old ones. Inside you will learn how to:
Use OO principles like encapsulation and delegation to build applications that are flexible
Apply the Open-Closed Principle (OCP) and the Single Responsibility Principle (SRP) to promote reuse of your code
Leverage the power of design patterns to solve your problems more efficiently
Use UML, use cases, and diagrams to ensure that all stakeholders are communicating clearly to help you deliver the right software that meets everyone's needs.
As the title suggests, the Design Patterns book (which I do have) specifically looks at design patterns, and teaches you about some common patterns (Observer, Decorator, Factory, Command, Facade etc), how to recognise them and how to apply them using examples written in Java.
So the two books have a different focus. If you don't know much about OO design, then the OO book is probably better for you. If you specifically want to learn about common design patterns in OO applications, get the design patterns book. But I'm not sure if either of them are particularly relevant to the exam.
I have both books and they are great. The OOAD book talks about the Requirements, Analysis and Design phases of software development.
There is a bit of overlapping between the two books in this last area, design. They both talk about the principles behind a good design but the book about design patterns covers them in more detail (and only talks about design), there is a chapter per pattern where the principles are covered in the context of that pattern.
It has been some time since you write the post Abhilash, I hope you had purchased both books and started reading the OOAD one first to get the context for using the design patterns. That's my opinion of course