SlideShare ist ein Scribd-Unternehmen logo
1 von 17
T.Y.B.Sc.(Comp. Sci.) Sem. I
Object Oriented Software Engineering
(OOSE)
CS-336
Faculty
Dr. Amit D. Kasliwal
Asst. Professor
Chapter 2
Introduction to UML
 Unified Modeling Language, as the name implies it is a modeling
language used to visualize, specify, construct and document the artifacts
of a software.
 We should clearly understand that UML is not a system design or
development methodology, but can be used to document object oriented
and analysis results obtained using some methodology.
 A model is the graphical, textual, mathematical, or programming code
based representation.
 Models are very useful in documenting the design & analysis results.
 An important reason behind constructing a model is that it helps manage
complexity.
 Once models of a software constructed, it can be used for a variety of
purposes during software development, including Analysis, Specification,
Code generation, Design, Visualize and understand the problem and the
working of a system Testing, etc.
UML
 UML provides a set of notations (e.g. rectangles, lines, ellipses, etc.) to
create a visual model of the system.
 Like any other language, UML has its own syntax (symbols and
sentence formation rules) and semantics (meanings of symbols and
sentences).
 We use UML diagrams to portray the behavior and structure of a
system.
 Thus helping software engineers, businessmen and system architects
with modeling, design and analysis.
 In the late 1980s and early 1990s, there was a large number of object
oriented design techniques and notations.
 Different software development houses were using different notations
to document their object-oriented designs.
 These diverse notations gave rise to a lot of confusion.
 UML was developed to standardize the large number of object oriented
modeling notations that existed and were used extensively in the early
1990s. It uses the principles and has borrowed many concepts from
modeling techniques of :
• Object Management Technology [Rumbaugh 1991]
• Booch’s Methodology [Booch 1991]
• Object-Oriented Software Engineering [Jacobson 1992]
 UML was adopted by Object Management Group (OMG) an
association of industries which tries to facilitate early formation of
standards as a de facto standard in 1997.
 Above all, UML contains an extensive set of notations and suggests
construction by providing many types of diagrams.
 It has successfully been used to model both large and small problems.
 Its adoption by OMG and widespread acceptance, UML is now being
used in a large number of software development projects.
UML
UML Concept
 As UML describes the real time systems, it is very important to make a
conceptual model and then proceed gradually.
 The conceptual model of UML has basic building block having
following three major elements
 Things
 Relationships
 Diagrams
 Things are the most important element of building blocks of UML.
 Things can be
 Structural
 Behavioral
 Grouping
 Annotational
 Structural Things define the static part of the model.
 It represent the physical and conceptual elements.
 Class − Class represents a set of objects having similar responsibilities.
 Interface − Interface defines a set of operations, which specify the
responsibility of a class.
 Actor: It comes under the use case diagrams. It is an object that
interacts with the system from outside. For example, a user.
UML Concept
 Behavioral Things consists of the dynamic parts of proposed model.
 Interaction − It is defined as a behavior that consists of a group of
messages exchanged among elements to accomplish a specific task.
 State machine − State machine is useful when the state of an object in
its life cycle is important.
 It defines the sequence of states an object goes through in response to
events. Events are external factors responsible for state change
UML Concept
 Collaboration: It represents the interaction between things that is done
to meet the goal.
 Use case: Use case is the core concept of object-oriented modeling.
 It portrays a set of actions executed by a system to achieve the goal.
 Component: It represents the physical part of the system.
 Node: Represent physical element that exists at run time.
UML Concept
 Grouping Things can be defined as a mechanism to group elements of
a UML model together.
 Package − Package is the only one grouping thing available for
gathering structural and behavioral things.
 Annotational Things can be defined as a mechanism to capture
remarks, descriptions, and comments of UML model elements.
 Note - It is the only one Annotational thing available used to render
comments, constraints, etc. of an UML element.
UML Concept
UML Concept
 Relationship is another most important building block of UML.
 It shows how the elements are associated with each other and this
association describes the functionality of an application.
 There are four kinds of relationships.
 Association is basically a set of links that connects the elements of a
UML model.
 Dependency is a relationship between two things in which change in
one element also affects the other.
 It also describes how many objects are taking part in that relationship.
 Generalization can be defined as a relationship which connects a
specialized element with a generalized element.
 It basically describes the inheritance relationship in the world of
objects.
 Realization can be defined as a relationship in which two elements are
connected.
 One element describes some responsibility, which is not implemented
and the other one implements them.
 This relationship exists in case of interfaces.
UML Concept
UML Concept
 UML Diagram used to construct, capture and view the software by
using different types of diagrams.
 The different UML diagrams provide different perspectives of the
software system to be developed and facilitate a comprehensive
understanding of the system.
 Such models can be redefined to get the actual implementation of the
system.
 The UML diagrams can capture the following five views of a system:
• User’s view
• Structural view
• Behavioral view
• Implementation view
• Environmental view
 User's view
 This contains the diagrams in which the user's part of interaction with
the software is defined.
 No internal working is defined in this view for model. The diagrams
contained in this view is Use case Diagram.
 Structural view
 In the structural view, only the structure of the model is explained.
 This gives an estimation of what the software consists of.
 However, internal working is still not defined in this model.
 The diagram that this view includes are Class Diagrams, Object
Diagrams.
UML Concept
 Behavioral view
 The behavioral view contains the diagrams which explain the behavior of
the software. It includes Sequence Diagram, Collaboration Diagram, State
chart Diagram and Activity Diagram.
 Environmental view
 This view explains the user interactions & software effects on the system.
 It helps in view how the different components are implemented on
different pieces of hardware. It contain Deployment diagram
 Implementation view
 The view consists of the diagrams that represent the implementation part.
 This view is related to the developer’s views.
 This is the only view in which the internal workflow of the software is
defined. It contains Component Diagram
UML Concept
UML Concept
Advantages of UML
 Robust
 Reusable
 Flexible
 With UML, we know exactly what we are getting.
 We will have lower development costs.
 Software will behave as we expect it to.(With Fewer surprises)
 The right decisions are made before we are given poorly written code.
 We can develop more memory and processor efficient systems.
 System maintenance costs will be lower.
 Less relearning takes place.
 Communication with stakeholders will be more efficient.
Introduction to Unified Modeling Language

Weitere ähnliche Inhalte

Was ist angesagt?

Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12
koolkampus
 
1.1 The nature of software.ppt
1.1 The nature of software.ppt1.1 The nature of software.ppt
1.1 The nature of software.ppt
JAYAPRIYAR7
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
koolkampus
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
koolkampus
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
CherryBerry2
 

Was ist angesagt? (20)

Uml Presentation
Uml PresentationUml Presentation
Uml Presentation
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context Model
 
Behavioural modelling
Behavioural modellingBehavioural modelling
Behavioural modelling
 
Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12Object Oriented Design in Software Engineering SE12
Object Oriented Design in Software Engineering SE12
 
1.1 The nature of software.ppt
1.1 The nature of software.ppt1.1 The nature of software.ppt
1.1 The nature of software.ppt
 
Coupling and cohesion
Coupling and cohesionCoupling and cohesion
Coupling and cohesion
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
 
System Models in Software Engineering SE7
System Models in Software Engineering SE7System Models in Software Engineering SE7
System Models in Software Engineering SE7
 
UML diagrams and symbols
UML diagrams and symbolsUML diagrams and symbols
UML diagrams and symbols
 
Presentation on uml
Presentation on umlPresentation on uml
Presentation on uml
 
Software Engineering- Crisis and Process Models
Software Engineering- Crisis and Process ModelsSoftware Engineering- Crisis and Process Models
Software Engineering- Crisis and Process Models
 
object oriented methodologies
object oriented methodologiesobject oriented methodologies
object oriented methodologies
 
Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9Formal Specification in Software Engineering SE9
Formal Specification in Software Engineering SE9
 
Architecture design in software engineering
Architecture design in software engineeringArchitecture design in software engineering
Architecture design in software engineering
 
Uml class-diagram
Uml class-diagramUml class-diagram
Uml class-diagram
 
Use case diagram
Use case diagramUse case diagram
Use case diagram
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
UML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussionUML Diagram @ Software engineering discussion
UML Diagram @ Software engineering discussion
 
Analysis modeling
Analysis modelingAnalysis modeling
Analysis modeling
 
Uml in software engineering
Uml in software engineeringUml in software engineering
Uml in software engineering
 

Ähnlich wie Introduction to Unified Modeling Language

Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
MeagGhn
 

Ähnlich wie Introduction to Unified Modeling Language (20)

UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)UNIFIED MODELLING LANGUAGE (UML)
UNIFIED MODELLING LANGUAGE (UML)
 
Uml tutorial
Uml tutorialUml tutorial
Uml tutorial
 
Uml tutorial
Uml tutorialUml tutorial
Uml tutorial
 
Uml tutorial
Uml tutorialUml tutorial
Uml tutorial
 
Uml Tutorial
Uml TutorialUml Tutorial
Uml Tutorial
 
UML Tutorial
UML TutorialUML Tutorial
UML Tutorial
 
Uml.pptx
Uml.pptxUml.pptx
Uml.pptx
 
Object oriented analysis and design unit- ii
Object oriented analysis and design unit- iiObject oriented analysis and design unit- ii
Object oriented analysis and design unit- ii
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
Uml overview modified
Uml overview modifiedUml overview modified
Uml overview modified
 
UML
UMLUML
UML
 
Case stydy cs701
Case stydy cs701 Case stydy cs701
Case stydy cs701
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdfPhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
PhD Core Paper Unit 5 _Part 1 Software Design and UML Use Case Modeling.pdf
 
Uml
UmlUml
Uml
 
Case Study Uml
Case Study UmlCase Study Uml
Case Study Uml
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
Uml
UmlUml
Uml
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
Object oriented analysis and design unit- iii
Object oriented analysis and design unit- iiiObject oriented analysis and design unit- iii
Object oriented analysis and design unit- iii
 

Mehr von AMITJain879 (8)

Object Oriented Testing
Object Oriented TestingObject Oriented Testing
Object Oriented Testing
 
Architectural Modeling
Architectural ModelingArchitectural Modeling
Architectural Modeling
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Object Oriented Analysis
Object Oriented AnalysisObject Oriented Analysis
Object Oriented Analysis
 
Basic Behavioral Modeling
Basic Behavioral ModelingBasic Behavioral Modeling
Basic Behavioral Modeling
 
Advanced Structural Modeling
Advanced Structural ModelingAdvanced Structural Modeling
Advanced Structural Modeling
 
Basic Structural Modeling
Basic Structural ModelingBasic Structural Modeling
Basic Structural Modeling
 
What is Object Orientation?
What is Object Orientation?What is Object Orientation?
What is Object Orientation?
 

Kürzlich hochgeladen

%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
masabamasaba
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Medical / Health Care (+971588192166) Mifepristone and Misoprostol tablets 200mg
 

Kürzlich hochgeladen (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
Abortion Pills In Pretoria ](+27832195400*)[ 🏥 Women's Abortion Clinic In Pre...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 

Introduction to Unified Modeling Language

  • 1. T.Y.B.Sc.(Comp. Sci.) Sem. I Object Oriented Software Engineering (OOSE) CS-336 Faculty Dr. Amit D. Kasliwal Asst. Professor
  • 2. Chapter 2 Introduction to UML  Unified Modeling Language, as the name implies it is a modeling language used to visualize, specify, construct and document the artifacts of a software.  We should clearly understand that UML is not a system design or development methodology, but can be used to document object oriented and analysis results obtained using some methodology.  A model is the graphical, textual, mathematical, or programming code based representation.  Models are very useful in documenting the design & analysis results.  An important reason behind constructing a model is that it helps manage complexity.  Once models of a software constructed, it can be used for a variety of purposes during software development, including Analysis, Specification, Code generation, Design, Visualize and understand the problem and the working of a system Testing, etc.
  • 3. UML  UML provides a set of notations (e.g. rectangles, lines, ellipses, etc.) to create a visual model of the system.  Like any other language, UML has its own syntax (symbols and sentence formation rules) and semantics (meanings of symbols and sentences).  We use UML diagrams to portray the behavior and structure of a system.  Thus helping software engineers, businessmen and system architects with modeling, design and analysis.  In the late 1980s and early 1990s, there was a large number of object oriented design techniques and notations.  Different software development houses were using different notations to document their object-oriented designs.  These diverse notations gave rise to a lot of confusion.
  • 4.  UML was developed to standardize the large number of object oriented modeling notations that existed and were used extensively in the early 1990s. It uses the principles and has borrowed many concepts from modeling techniques of : • Object Management Technology [Rumbaugh 1991] • Booch’s Methodology [Booch 1991] • Object-Oriented Software Engineering [Jacobson 1992]  UML was adopted by Object Management Group (OMG) an association of industries which tries to facilitate early formation of standards as a de facto standard in 1997.  Above all, UML contains an extensive set of notations and suggests construction by providing many types of diagrams.  It has successfully been used to model both large and small problems.  Its adoption by OMG and widespread acceptance, UML is now being used in a large number of software development projects. UML
  • 5. UML Concept  As UML describes the real time systems, it is very important to make a conceptual model and then proceed gradually.  The conceptual model of UML has basic building block having following three major elements  Things  Relationships  Diagrams  Things are the most important element of building blocks of UML.  Things can be  Structural  Behavioral  Grouping  Annotational
  • 6.  Structural Things define the static part of the model.  It represent the physical and conceptual elements.  Class − Class represents a set of objects having similar responsibilities.  Interface − Interface defines a set of operations, which specify the responsibility of a class.  Actor: It comes under the use case diagrams. It is an object that interacts with the system from outside. For example, a user. UML Concept
  • 7.  Behavioral Things consists of the dynamic parts of proposed model.  Interaction − It is defined as a behavior that consists of a group of messages exchanged among elements to accomplish a specific task.  State machine − State machine is useful when the state of an object in its life cycle is important.  It defines the sequence of states an object goes through in response to events. Events are external factors responsible for state change UML Concept
  • 8.  Collaboration: It represents the interaction between things that is done to meet the goal.  Use case: Use case is the core concept of object-oriented modeling.  It portrays a set of actions executed by a system to achieve the goal.  Component: It represents the physical part of the system.  Node: Represent physical element that exists at run time. UML Concept
  • 9.  Grouping Things can be defined as a mechanism to group elements of a UML model together.  Package − Package is the only one grouping thing available for gathering structural and behavioral things.  Annotational Things can be defined as a mechanism to capture remarks, descriptions, and comments of UML model elements.  Note - It is the only one Annotational thing available used to render comments, constraints, etc. of an UML element. UML Concept
  • 10. UML Concept  Relationship is another most important building block of UML.  It shows how the elements are associated with each other and this association describes the functionality of an application.  There are four kinds of relationships.  Association is basically a set of links that connects the elements of a UML model.  Dependency is a relationship between two things in which change in one element also affects the other.  It also describes how many objects are taking part in that relationship.
  • 11.  Generalization can be defined as a relationship which connects a specialized element with a generalized element.  It basically describes the inheritance relationship in the world of objects.  Realization can be defined as a relationship in which two elements are connected.  One element describes some responsibility, which is not implemented and the other one implements them.  This relationship exists in case of interfaces. UML Concept
  • 12. UML Concept  UML Diagram used to construct, capture and view the software by using different types of diagrams.  The different UML diagrams provide different perspectives of the software system to be developed and facilitate a comprehensive understanding of the system.  Such models can be redefined to get the actual implementation of the system.  The UML diagrams can capture the following five views of a system: • User’s view • Structural view • Behavioral view • Implementation view • Environmental view
  • 13.  User's view  This contains the diagrams in which the user's part of interaction with the software is defined.  No internal working is defined in this view for model. The diagrams contained in this view is Use case Diagram.  Structural view  In the structural view, only the structure of the model is explained.  This gives an estimation of what the software consists of.  However, internal working is still not defined in this model.  The diagram that this view includes are Class Diagrams, Object Diagrams. UML Concept
  • 14.  Behavioral view  The behavioral view contains the diagrams which explain the behavior of the software. It includes Sequence Diagram, Collaboration Diagram, State chart Diagram and Activity Diagram.  Environmental view  This view explains the user interactions & software effects on the system.  It helps in view how the different components are implemented on different pieces of hardware. It contain Deployment diagram  Implementation view  The view consists of the diagrams that represent the implementation part.  This view is related to the developer’s views.  This is the only view in which the internal workflow of the software is defined. It contains Component Diagram UML Concept
  • 16. Advantages of UML  Robust  Reusable  Flexible  With UML, we know exactly what we are getting.  We will have lower development costs.  Software will behave as we expect it to.(With Fewer surprises)  The right decisions are made before we are given poorly written code.  We can develop more memory and processor efficient systems.  System maintenance costs will be lower.  Less relearning takes place.  Communication with stakeholders will be more efficient.