Patterns are solutions for the specific problem in a specific context.
Patterns are solutions to recurring problem in a specific context.
Java Design Patterns:
Java design patterns can be categories into three types.
Core design patterns are also called as GOF (Gang of Four).
You can use GOF Patterns in any domain like J2ee domain, .Net domain, Sap domain etc.
In addition to these GOF Patterns we have some domain specific patterns
When you are developing the application using .Net Patterns Microsoft has provided some patterns which have specific to .Net which are called .Net Patterns.
When we are developing J2ee application Sun has provided some patterns which are specific to J2ee domain etc. like depends on domain.
You can use J2ee domain specific patterns for J2ee application. we can use GOF patterns some times.
J2ee Design Patterns:
J2ee design patterns are divided into the following based on the layer.
Liked it! Share this Tutorial