Methodology Section Index | Page 5
What is the status of the UML-EJB Mapping Specification (JSR 26)?
I have attach the reply that I received from the manager (Jack Greenfield) of the project a couple of weeks ago.
We plan to implement it in our open-source UML designer (perfekt.sourceforge.net).
...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 do you represent an attribute of a class that is a container type, such as a vector of objects of some other class?
Typically this is implied when you model the classes in a class diagram. Let's say you have Customer and Order with a 1:M relationship between them (A Customer can have 0 or more orders). By defin...more
How would you use UML to model the following relationship?
How would you use UML to model the following relationship? A user has many privileges, one privilege is authorized to one domain. The code is as follows:
public class User
{
private Vector priv...more
How do you represent a CORBA IDL file with UML? Is there a standard way to do it? Is there a standard symbol?
A CORBA IDL file can be represented by as a CLASS that is an Interface stereotype. The reason for this is that the IDL file defines an interface specification for an implementation of the class th...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
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 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
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
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