Shared Flashcard Set

Details

Design Patterns
n/a
10
Computer Science
12th Grade
05/23/2013

Additional Computer Science Flashcards

 


 

Cards

Term

What is the Singleton design pattern?

Definition
Creates a single instance of a class.
Term
What is the Factory design pattern?
Definition
Creates objects without exposing the instantiation logic to client, refers to objects through a common interface.
Term

What is the Session Facade design pattern?

(like Business Delegate)

Definition
Encapsulates business services and exposes their interface.
Term
What is the Service Locator design pattern?
Definition
Used to locate various services using JNDI lookup.
Term
What is the DAO design pattern?
Definition
Abstracts (the rules) and encapsulates (restricts) all access to the data source.
Term
What is the Front Controller design pattern?
Definition
It centralizes the access logic and separates it from the view layer. (Struts)
Term
What is the Model 1 design pattern?
Definition
Distributes business logic across the JSP pages of an application.
Term
What is the Model 2 (MVC) design pattern?
Definition

Divides the application into three layers.

(Model, View, and Controller)

Term
What is the Business Delegate design pattern?
Definition
Encapsulates access to the business service.
Term
How is business delegate and session facade different?
Definition

- Business Delegate: always local to the client, and it hides remoteness.

- Session facade: can be remote (doesn't have to be) but it cannot hide remoteness.

Supporting users have an ad free experience!