Which Design Patterns you know?

Answer Posted / sri

What is desing pattern?
Commonly accepted solution for a particular problem is
called design pattern.
We can classify the design patterns into two.
1. Java core patterns.
2. J2ee Design patters.

Core patterns.
1) Creational (Factory pattern, singleton pattern....etc)
2) Structural (Adaptor, Composite... etc)
3) Behavioural(Command, Template, Strategy... etc)

Entepise Patterns. (We can catagoize by layer)
1) Business Facade - Business Layer
2) Business Interface - Business Layer
3) DAO pattern - Persistent Layer
4) Composite View - Presentation Layer
5) synchronized - Presentation Layer
6) Service Locator... etc...

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

2. Create your own definition of a system. Based on the “system” definitions a. Identify your viewpoint of shortcomings in the definitions. b. Provide rationale as to why you believe that your definition overcomes those shortcomings. c. From an historical perspective, identify three precedented systems that were replaced by unprecedented systems.

2717


Is bean a singleton?

564


What are the types of design patterns?

563


What is the difference between factory and abstract factory design pattern?

570


What is the singleton design pattern?

625






Suppose we have file(ps), dont know how many records are there. Move half of the records to 2 files. How can we do?

575


What are the types of the proxy design you will get in the design pattern?

562


What is the design pattern?

636


Describe the builder design pattern

662


Why do we need singleton pattern?

582


Is singleton bean thread safe?

552


Explain what are 5 common problems in the software development process?

610


What are the types of participants of the prototype design pattern you will get?

581


what is the lazy design pattern?

595


How did you design your unit tests?What about integration tests?

1796