Wednesday, September 5, 2007

UML - Part I

Unified Modeling Language (UML):

Unified Modeling Language (UML) is an Object Management Group (OMG) standard for modeling software artifacts. Using UML, developers and architects can make a blueprint of a project, much like ERD diagrams are used for relational design.

The UML is a language for specifying, constructing, visualizing, and documenting the artifacts of a software-intensive system.

Founders of UML are James Rambaugh, Grady Booch and Iver Jacobson from OMG.

The first version being UML 1.0 and now 2.1 being the latest version available.

Main categories come into picture in UML are:

1. Use Case Diagrams
2. Behavior Diagrams
3. Implementation Diagrams

Use Case Diagrams

Explains the broad area of functionality of a system.

Like Title – Ex: Railway Reservation System
Many Actors – Ex: Passengers, Administrators
Web-Clients – Ex: Microsoft Internet Explorer

All Use case name should be verb as it is a process.




Use Case Analysis:

Noun Analysis – Discover classes from Use Cases.
i.) One Use Case at a time
ii.) Focus on the nouns
iii.) Focus on non-actor nouns
iv.) Look into each noun

Ranks can be prioritized for Use Cases. Rank 0,1,2 will be for Non-technical users.

Differences between UML 1.* Vs UML 2.*

UML 1.*

1. Use Cases ->Analysis
2. High Level Design
· Class Diagrams
· Object-Oriented Flow Diagrams
(a.) Sequence Diagrams
(b.) Collaboration Diagrams
3. Activity Oriented Flow
· Activity Diagrams
4. Component Diagrams
5. State Diagrams
6. Deployment Diagrams

UML 2.*

1.Use Cases ->Analysis
2.High Level Design
· Class Diagrams
· Object-Oriented Flow Diagrams
(a.) Sequence Diagrams
(b.) Collaboration Diagrams
3.Activity Oriented Flow
· Activity Diagrams
4.Component Diagrams
5.State Diagrams
6.Deployment Diagrams
7.Timer Diagrams (Used mainly for Embedded, Real-Time, Telecom Projects)

We can continue in second part the rest of UML.

5 comments:

neovins said...

first useful blog (to an extent) not wasting others time n urs

Karthick said...

Thanks a ton vinoth

Shalini Gowrisankar said...

Nice blog..Useful info.. I'm jus' brushing up my knowledge on Use case diagrams and all that .. Object Oriented Analysis and design is one of my favourite subjects :)

Karthick said...

Thanks Shalini..I have little knowledge on OOAD .. let me put that here too asap.

pethe said...

hai nice yaar its useful.........n plz can u help me out.
i want use-case,class,sequence,collaboration diagrams of uml about online reservation system wid description plz....help me out bcoz i hav project