01.01.2015 Views

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

UML Weekend Crash Course™ - To Parent Directory

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Session 2—<strong>UML</strong> and Development Methodologies 17<br />

The progression from step to step follows a fairly strict set of rules to guide the translation<br />

from each version of the diagram to the next. The process sets up a rhythm of build a<br />

little and test it, build a little more and test a little more, which helps prevent surprise<br />

problems from cropping up deep into the process.<br />

The Shlaer-Mellor Method also places a great emphasis on iterative and incremental<br />

development. But this methodology reduces and controls iteration in analysis by confining<br />

it to a single domain at a time. Iteration in design is similarly controlled: Modifications to<br />

the design are made entirely in the architectural domain and propagated to the entire<br />

system through the standardized diagrams.<br />

Reuse is yet another high priority. Because domains are kept completely separate from<br />

one another until the final construction steps, they can be transported intact to other systems.<br />

This applies particularly to the architectural domain: This domain is commonly reused<br />

for other systems that have basically the same loading and performance characteristics.<br />

Strengths of Shlaer-Mellor<br />

By far the greatest strength of the Shlaer-Mellor Method is the ability to test your<br />

diagrams through simulation. You actually execute your diagrams.<br />

The process is extremely well defined in terms of rules that govern the construction<br />

and testing of the diagrams.<br />

The movement from one step in the process to the next (for example, from analysislevel<br />

diagrams to design-level diagrams) is also defined with enough precision to<br />

allow the generation of design diagrams directly from the analysis diagrams. This is<br />

a huge time saver and prevents mistakes in the translation. It also speeds up the<br />

process of applying changes because they can be propagated through the diagrams<br />

automatically.<br />

The method was developed for and maintains a strong emphasis on real-time systems<br />

design. As such, it provides support that is largely lacking in other methodologies<br />

that gloss over the unique demands of real time in favor of the more common<br />

business functionality.<br />

Weaknesses of Shlaer-Mellor<br />

The strengths of the methodology can also be its weaknesses. Like the RUP, the tool<br />

support is limited to vendors directly associated with the methodologists. This is<br />

changing, but don’t expect it to be quick.<br />

Learning the rules involves a definite learning curve and a serious investment of<br />

time and effort. Steve Mellor is currently leading an enhancement to the <strong>UML</strong>,<br />

called Action Semantics, to improve the definition of Statechart diagrams and build<br />

much of this knowledge into the <strong>UML</strong> 1.5 standard. <strong>To</strong>ol support for this enhancement<br />

should soon follow.<br />

The methodology was developed for real-time systems, so it places heavy emphasis<br />

on state modeling. Many business applications simply do not warrant a lot of work<br />

on state transitions.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!