Design patterns are the set of rules as best solutions for reoccurring problems of application development. Senior Software Engineers prepare these Design Patterns based on their experience, and Junior Software Engineers will use them in project implementation.
Most of the Design Patterns related to java are given by a team called GOF (Gang of Four).
The worst solution for reoccurring problems of application development is called Anti-Pattern.
here is some design patterns
I) Basic Design Patterns:
- Factory Method*
- Singleton Java Class*
- Factory*
- Abstract Factory*
- Builder
- Prototype
- IOC (Inversion of Control / Dependency Injection)
- Template Method
- Value object / Data Transfer Object*
- Adaptor class
- Facade
II) Web Design Patterns
- MVC*
- Composite View*
- View Helper*
- Front Controller
- Application Controller
- Intercepting Filter*
III) Integration Design Pattern
- Business Delegate*
- Service Locater*
- DAO*
DAO Factory
IV) EJB2.1
- Session Facade*
- Message Facade
- EJB Home Factory
The design patterns are language-independent strategies for solving common object-oriented design problems. Some common design patterns in Java are:
Singleton Pattern
Factory Pattern