- Behavioral patterns are those patterns that are most specifically
concerned with communication between objects. In this chapter, we’ll see
that:
•The Observer pattern defines the way a number of classes can be notified
of a change,
•The Mediator defines how communication between classes can be
simplified by using another class to keep all classes from having to know
about each other.
•The Chain of Responsibility allows an even further decoupling between
classes, by passing a request between classes until it is recognized.
•The Template pattern provides an abstract definition of an algorithm, and
•The Interpreter provides a definition of how to include language elements
in a program.
•The Strategy pattern encapsulates an algorithm inside a class,
•The Visitor pattern adds function to a class,
•The State pattern provides a memory for a class’s instance variables.
•The Command pattern provides a simple way to separate execution of a
command from the interface environment that produced it, and
•The Iterator pattern formalizes the way we move through a list of data
within a class.
World of tricky Core Java Q and A Covering Object Oriented Analysis and Design, JVM Internals,Java Language Fundamentals,Datatypes,Keywords,Operators and Assignments,Identifies,Declarations and Modifiers, Conversion,Casting and Promotion, Flow control,Assertions, Exception Handling and Garbage Collection,Objects and Classes), Basic Packages and their classes,JDBC,JFC Swing,Java Server Pages (JSP), Servlets,EJB,JMS,JNDI etc and Open source technologies like Struts,Hibernate,Spring etc
Search This Blog
Wednesday, February 08, 2006
Behavioral Patterns
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment