Home Page Icon
Home Page
Table of Contents for
IX. CASE STUDY
Close
IX. CASE STUDY
by Partha Kuchana
Software Architecture Design Patterns in Java
COVER PAGE
TITLE PAGE
COPYRIGHT PAGE
DEDICATION
FOREWORD
ABOUT THE AUTHOR
ACKNOWLEDGMENTS
I. AN INTRODUCTION TO DESIGN PATTERNS
1. DESIGN PATTERNS: ORIGIN AND HISTORY
ARCHITECTURAL TO SOFTWARE DESIGN PATTERNS
WHAT IS A DESIGN PATTERN?
MORE ABOUT DESIGN PATTERNS
ABOUT THIS BOOK
II. UNIFIED MODELING LANGUAGE (UML)
2. UML: A QUICK REFERENCE
STRUCTURE DIAGRAMS
BEHAVIOR DIAGRAMS
MODEL MANAGEMENT DIAGRAMS
CLASS DIAGRAMS
SEQUENCE DIAGRAMS
III. BASIC PATTERNS
3. INTERFACE
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
4. ABSTRACT PARENT CLASS
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
5. PRIVATE METHODS
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
6. ACCESSOR METHODS
DESCRIPTION
ACCESSOR METHOD NOMENCLATURE
EXAMPLE
DIRECT REFERENCE VERSUS ACCESSOR METHODS
PRACTICE QUESTIONS
7. CONSTANT DATA MANAGER
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
8. IMMUTABLE OBJECT
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
9. MONITOR
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
IV. CREATIONAL PATTERNS
10. FACTORY METHOD
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
11. SINGLETON
DESCRIPTION
WHO SHOULD BE RESPONSIBLE?
EXAMPLE
PRACTICE QUESTIONS
12. ABSTRACT FACTORY
DESCRIPTION
ABSTRACT FACTORY VERSUS FACTORY METHOD
EXAMPLE I
EXAMPLE II
PRACTICE QUESTIONS
13. PROTOTYPE
DESCRIPTION
SHALLOW COPY VERSUS DEEP COPY
EXAMPLE I
EXAMPLE II
PRACTICE QUESTIONS
14. BUILDER
DESCRIPTION
EXAMPLE I
EXAMPLE II
EXAMPLE III
PRACTICE QUESTIONS
V. COLLECTIONAL PATTERNS
15. COMPOSITE
DESCRIPTION
EXAMPLE
DESIGN APPROACH I
DESIGN APPROACH II
PRACTICE QUESTIONS
16. ITERATOR
DESCRIPTION
ITERATORS IN JAVA
FILTERED ITERATORS
INTERNAL VERSUS EXTERNAL ITERATORS
EXAMPLE: INTERNAL ITERATOR
CLIENT/CONTAINER INTERACTION
EXAMPLE: EXTERNAL FILTERED ITERATOR
PRACTICE QUESTIONS
17. FLYWEIGHT
DESCRIPTION
HOW TO DESIGN A FLYWEIGHT IN JAVA
DESIGN HIGHLIGHTS
EXAMPLE
DESIGN APPROACH I
DESIGN APPROACH II
PRACTICE QUESTIONS
18. VISITOR
DESCRIPTION
DEFINING NEW OPERATIONS ON THE OBJECT COLLECTION
ADDING OBJECTS OF A NEW TYPE TO THE COLLECTION
EXAMPLE
DESIGN APPROACH I
DESIGN APPROACH II
DESIGN APPROACH III (COMPOSITE PATTERN)
DESIGN APPROACH IV (THE VISITOR PATTERN)
DEFINING A NEW OPERATION ON THE ORDER OBJECT COLLECTION
ADDING A NEW ORDER TYPE TO THE COLLECTION
PRACTICE QUESTIONS
VI. STRUCTURAL PATTERNS
19. DECORATOR
DESCRIPTION
CHARACTERISTICS OF A DECORATOR
EXAMPLE
CONCRETE LOGGER DECORATORS
ADDING A NEW MESSAGE LOGGER
ADDING A NEW DECORATOR
PRACTICE QUESTIONS
20. ADAPTER
DESCRIPTION
CLASS ADAPTERS VERSUS OBJECT ADAPTERS
EXAMPLE
ADDRESS ADAPTER AS AN OBJECT ADAPTER
PRACTICE QUESTIONS
21. CHAIN OF RESPONSIBILITY
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
22. FAÇADE
DESCRIPTION
EXAMPLE
IMPORTANT NOTES
PRACTICE QUESTIONS
23. PROXY
DESCRIPTION
PROXY VERSUS OTHER PATTERNS
RMI: A QUICK OVERVIEW
RMI AND PROXY PATTERN
EXAMPLE
ADDITIONAL NOTES
PRACTICE QUESTIONS
24. BRIDGE
DESCRIPTION
EXAMPLE
BRIDGE PATTERN VERSUS ADAPTER PATTERN
PRACTICE QUESTIONS
25. VIRTUAL PROXY
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
26. COUNTING PROXY
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
27. AGGREGATE ENFORCER
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
28. EXPLICIT OBJECT RELEASE
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
29. OBJECT CACHE
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
VII. BEHAVIORAL PATTERNS
30. COMMAND
DESCRIPTION
EXAMPLE I
EXAMPLE II
PRACTICE QUESTIONS
31. MEDIATOR
DESCRIPTION
MEDIATOR VERSUS FAÇADE
EXAMPLE I
EXAMPLE II
PRACTICE QUESTIONS
32. MEMENTO
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
33. OBSERVER
DESCRIPTION
ADDING NEW OBSERVERS
EXAMPLE
PRACTICE QUESTIONS
34. INTERPRETER
DESCRIPTION
EXAMPLE
ADDITIONAL NOTES
PRACTICE QUESTIONS
35. STATE
DESCRIPTION
STATEFUL OBJECT: AN EXAMPLE
EXAMPLE
PRACTICE QUESTIONS
36. STRATEGY
DESCRIPTION
STRATEGIES VERSUS OTHER ALTERNATIVES
STRATEGY VERSUS STATE
EXAMPLE
PRACTICE QUESTIONS
37. NULL OBJECT
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
38. TEMPLATE METHOD
DESCRIPTION
EXAMPLE
ADDITIONAL NOTES
PRACTICE QUESTIONS
39. OBJECT AUTHENTICATOR
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
40. COMMON ATTRIBUTE REGISTRY
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
VIII. CONCURRENCY PATTERNS
41. CRITICAL SECTION
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
42. CONSISTENT LOCK ORDER
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
43. GUARDED SUSPENSION
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
44. READ-WRITE LOCK
DESCRIPTION
EXAMPLE
PRACTICE QUESTIONS
IX. CASE STUDY
45. CASE STUDY: A WEB HOSTING COMPANY
OBJECTIVE
KPS HOSTING SOLUTIONS: A BRIEF OVERVIEW
REQUIREMENTS
BUSINESS OBJECTS AND THEIR ASSOCIATION
FRAMEWORK FOR APPLICATION PROCESSING
CONCLUSION
X. APPENDICES
APPENDIX A: LIST OF DESIGN PATTERNS
APPENDIX B: REFERENCES
WEB REFERENCES
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
44. READ-WRITE LOCK
Next
Next Chapter
45. CASE STUDY: A WEB HOSTING COMPANY
IX
CASE STUDY
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset