Dear Friends, Hi! Can some one please suggest me a good book on Design Patterns ? Does Design Pattern only mean UML ? OR What Kinds of design Pattern are there over all ? Some one asked me what all design patterns have you used....I really donot know answer to this ??? I have a book on Mastering UML is that enough?Please answer me.... Thanks, Suneeta
In simple term design patterns are common practice use by industry. You can implement yr logic in different way. but if you implement that with using design patterns then it will be easy to communicate with other team member or designer and it will be more flexible system. I am using Cooper's book for reading. Three kind of design patterns 1. Creational 2. Structural 3. Behavioral Creational ========== 1. Builder Pattern 2. Prototype pattern 3. Factory method Pattern 4. Abstract factory method pattern 5. Singleton pattern Structural =========== 1. Adaptor 2. Bridge 3. Composite 4. Decorator 5. Proxy 6. Facade 7. Flyweight Behavioral ========== 1. Interpreter 2. Iterator 3. Command 4. Chain of responsibility 5. Moderator 6. Observor 7. State 8. Strategy 9. Template 10. Visitor
Jignesh Shah<BR>PSC WEB Developer
Joined: Jul 20, 2001
Dear Jigneesh, Thanks a lot! Which book do you sugest for design patterns,By Gough or Martin Fowler?So where does UML stand in design patterns?How can the design patterns mentioned by you used in Java? Hey,I know I might soound stupid but if any one could give me a bigger picture abt design pattern it would be great. Suneeta
This book contains all the design patterns required for the SCEA exam. I also found this book very use full while doing my SCJD exam. Design Patterns devided into 3 types - Creation, Structural, Behavioral accordingly this book has been divided into 3 parts. Many of the patterns look similar, make sure that you read the description at the end of each part - this description identifies the minor difference that exists between patters. At the end of each design pattern chapter there is section called 'Related Patters' you can use the information here to get an idea about relation between the various patters. All the patterns have examples in C++.
Covers all the patters from the above book, but this book explains all the patterns in Java. I did not use this book since I understood all the patterns from the above book. This book use full only if you don't know C++ and you want a Java implementation of all the Design Patterns.
yet I didn't give exam and I am preparing for the exam so, I might wrong. But my understanding is atleast you need to know each pattern.
Here is some detail about J2EE Patterns. Architectural Design Goals includes 1 Component Extensibility : For that J2EE uses Factory and Facade pattern. 2. Contracts: Adaptor pattern 3. Pluggable behaviour : Command and Strategy Pattern. 4. Performance : facade pattern. Other than that WEB Tier uses Mediator Pattern EJB Tier uses Session Entity Facade pattern Client Tier / WEB Tier/ EJB Tier uses Business Delegate Pattern. If I am wrong then let me know. I also post same answer in another thread.
Jignesh H Shah
Joined: Jul 18, 2001
I am not sure whether its right way to explain or not but UML is just notation for Design. While Design Pattern is best proven solutions.