IT Placement Papers JAVA Java Patterns
This category contains Java Patterns Interview Questions and Answers |
How does one decide which Design pattern to use in our application?
|
|
|
|
|
We need to follow these steps:
1. We need to understand the problem at hand. Break it down to finer grained problems. Each design pattern is meant to solve certain kinds of problems. This would narrow down our search for design patterns.
2. Read the problem statement again along with the solution which the design pattern will provide. This may instigate to change a few patterns that we are to use.
3. Now figure out the interrelations between different patterns. Also decide what all patterns will remain stable in the application and what all need to change (with respect to Change Requests received from the clients).
Only registered users can write comments. Please login or register.
|