Patterns Section Index | Page 2
What is ACE (Adaptive Communication Environment)?
ACE is the
ADAPTIVE Communication Environment. It is an open-source,
OO framework designed and built implementing a good number
of design patterns to provide a rich, portable
communication fram...more
What patterns are particularly useful in building networked applications?
I suggest starting with
Pattern-Oriented Software Architecture: Patterns for Concurrent and
Networked Objects (POSA2). POSA2 specifically brings
together 17 interrelated patterns addressing Ser...more
What are Anti-Patterns?
There isn't really a "clean-cut" definition out there just yet, unlike Design Patterns. Basically, as Design Patterns (and more particularly, Process Patterns) try to codify a standard ...more
Where can I find good examples of the Prototype pattern?
The prototype pattern is actually quite simple to implement in Java.
Recall that the idea of prototype is that you are passed an object and use that object as a template to create a new object. B...more
How and where did the concept of design patterns get started?
Work on patterns has been influenced by the works of Christopher Alexander who published on topics related to urban planning and building architecture in the late 1970s. The history of patterns fo...more
What are Process Patterns?
Basically process patterns define a collection of best practices, techniques, methods for developing object-oriented software.A good reference site is by Scott Ambler. He also has two books on the...more
Are there any other FAQs about patterns available?
Doug Lea maintains a FAQ for the patterns-discussion mailing list.
How can I use JUnit to test a method that takes a complex parameter - like an HttpServletRequest?
Say you want to test this method:
public Vector getEmployeeList(HttpServletRequest req) {
Vector list = new Vector();
String department = req.getParameter("departmentID");
...more
What is the disadvantage of using the Singleton pattern? It is enticing to use this pattern for all the classes as it makes it easy to get the reference of the singleton object.
The intent of the Singleton pattern is to ensure
a class has only one instance and to provide a
global point of access to it. True, the second
part about providing a global point of access is
ent...more
What is the "evictor" pattern? Where can I find an implementation for Java and POA?
The evictor pattern describes a generic procedure by which services can be deactivated, when they are no longer needed. It is described in Advanced CORBA Programming with C++.
Sorry, can't help yo...more
What tools support the development and use of patterns?
See the list of tools at
http://hillside.net/patterns/tools/.
Per Lundholm recommends,
Together/J has support for Design Patterns
and ships with GOF set. See
http://www.togethe...more
What are factory classes?
Factory classes provide an interface for creating families of related objects. Factory classes are useful when the decision of which class to use must be done at run time and cannot be hard coded ...more
How does "Extreme Programming" (XP) fit with patterns?
Extreme Programming has a large emphasis on the concept of refactoring: Writing code once and only once.
Patterns, particularly the structural patterns mentioned by the Gang of Four, can give good...more
What are the differences between analysis patterns and design patterns?
Analysis pattern are for domain architecture, and design pattern are for implementation mechanism for some aspect of the domain architecture.
In brief, analysis pattern are more high level and mor...more
What is an analysis pattern?
An analysis pattern is a software pattern not related to a language or implementation problem, but to a business domain, such as accounting or health care. For example, in health care, the patien...more