It's not a secret anymore!
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML diagram ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML diagram ?" Watch "UML diagram ?" New topic

UML diagram ?

Peter Chang

Joined: May 06, 2003
Posts: 18
Hi All,

Is there any UML Diagram that represents the flow of data within different components of a system ?
Example - Securities Trading System.
Order is booked in Order Management system, it is then send to Exchange.
Once filled, Exchange sends back the executions.
These executions are validated and Enriched by trade support systems.
Trades then sent to Back Office systems.
Here lots of actions are taken till the trade is finally settled.

Now if I want to represent this flow using UML, which diagram should I use.
I thought of interation diagrams - but they represents interaction among objects (not sub-systems).
Whereas Component/Deployement diagrams are static in nature.

Please let me know thoughts/Comments ...
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
Not a UML diagram, but it sounds like a job for a data flow diagram:

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ct Arrington

Joined: Jan 17, 2001
Posts: 27
I could imagine using a sequence diagram without too much guilt. Especially if you show the interface that each subsystem implements.

Another possibility is an activity diagram with a swimlane for each subsystem. I have seen business process activity diagrams that worked well that way.

Blog | Getting Started in Software Development
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I recommend Scott Ambler's Diagrams of UML2 as a bookmark to anyone interested in expanding their UML skills. The first one on the list says "Depicts high-level business processes, including data flow, or to model the logic of complex logic within a system. See UML Activity diagram guidelines." Does that sound like what you need?

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link:
subject: UML diagram ?
It's not a secret anymore!