Methodology Section Index | Page 5
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
What is the Reactor pattern?
The new book "Pattern-oriented Software Architecture Volume 2" ISBN 0471606952 has a chapter on the Reactor pattern. It falls under the general category of "Event Handling Patterns...more
What is the difference between sequence diagrams and collaboration diagrams?
Sequence diagrams and collaboration diagrams
are essentially semantically equivalent. You can
use either to model the dynamic aspects of a system
in terms of objects interacting by exchanging
mes...more
How should a boundary object be implemented in the Java language?
How should a boundary object be implemented in the Java language?
Should it be implemented as:
1. An ordinary class that contains public functions that pass parameters to a Control Object?
2. An...more
What do all of these XP (eXtreme Programming) acronyms mean?
Check out the
XP Glossary.
OOAD helps us in breaking down a problem domain into, so to speak, a set of classes that collaborate to provide a solution.
OOAD helps us in breaking down a problem domain into, so to speak, a set of classes that collaborate to provide a solution. These set of classes collaborate thru method calls. OOAD does not, howe...more
Are there any other FAQs about patterns available?
Doug Lea maintains a FAQ for the patterns-discussion mailing list.
How do you write a Thread-Safe Singleton?
I have written plenty of non-thread-safe Singletons but it wasn't until recently when I tracked it down that I realized that thread-safety could be a big problem.
The problem is that in the typic...more
How would you use UML to model multiple relationships between the same two classes?
How would you use UML to model multiple relationships between the same two classes? For example, an employee has both a permanent address and a temporary address.
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
How do I model the static and a dynamic aspects of the User Interface of a system?
Static aspects of the user interface can be
modelled by identifying boundary classes.
The candidate classes are generally identified
from sequence and collaboration diagrams. Among
the candidate ...more
What is an association class?
An association class is used to model an
association as a class. Association classes often
occur in many-to-one and many-to-many associations
where the association itself has attributes.
As an e...more
Where can I find help (suggested readings, mock exams, links, etc.) in preparing for the IBM certification test OOA&D in UML (test 486)?
IBM provides suggested readings, a practice exam,
and other reasources see
http://www-4.ibm.com/software/ad/certify/edu486c.html.
Also, check out the OOA&D and Patterns sections ...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
Where can I find out more about the Rumbaugh Method?
Details of the Rumbaugh method, more formally
known as the Object Modeling Technique (OMT),
are contained in the following two books:
[Rumbaugh 1991] J. Rumbaugh, M. Blaha, W.
Premerlani, F. Edd...more