Explain the singleton, facade, or handle class design
pattern?
Answers were Sorted based on User's Feedback
Answer / ash
Singleton - single instance of the class will be used. Many
uses.
facade - simplifying interface(s) into simple interface.
Used in application or presentation layer as api or for
wrapping external third-party api/resource
Handle - one method interface with one "action" argument.
Other arguments can be passed as list for "action". Used
when we dont know upfront which methods we would support and
dont want clients to recompile. Somewhat similar to command
pattern
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / abere a .yimame
Design patterns are higher level abstractions that define
common software problems and solutions to these
problems.Their major importance: they enable software
developers to use best software practice , expertise and
reusablity of good experiance with out ever doing the same
problem agian and again.
| Is This Answer Correct ? | 1 Yes | 13 No |
Is singleton bean thread safe?
What is a lazy initialization in singleton?
Contact a small, medium, and a large contract program within your organization. Interview the Technical Director or Project Engineer to identify the following information: a. Request the individual to graphically depict their development strategy? b. What factors drove them to choose the implementation strategy? c. What were some of the lessons learned from developing and implementing the strategy that would influence their approach next time? d. How was the V & V strategy implemented?
What design tools do you use?
What is Software development life cycle....??
What is the gang of four design pattern?
What WYSIWYG web design tools are available?
Suppose we have file(ps), dont know how many records are there. Move half of the records to 2 files. How can we do?
What is the difference between factory and builder design pattern?
Which Design Patterns you know?
What is the use of design patterns?
What is singleton and factory pattern?