Skip to main content

Posts

Showing posts from September 5, 2009

Java/j2ee design Pattern

Design Patterns play's a important role in development of any huge application.The basic definition of design pattern is "it stands to solve a particular problem in a well defined manner". In java the concept of design pattern is broadly divided into three types: • creational Creational patterns deal with the creation of objects and help to make a system independent of how objects are created, composed and represented. They also enable flexibility in what gets created, who creates it, how it gets created and when it gets created. • structural Structural patterns deal with how objects are arranged to form larger structures • behavioural Behavioural patterns deal with how objects interact, the ownership of responsibility and factoring code in variant and non-variant components. Pros/cons of using Design Patterns. Pros. • quality, flexibility and re-use Design Patterns capture solutions to common computing problems and represent the time, effort and experience gained from ap...