SlideShare a Scribd company logo
Dynamic Modeling
Preeti Mishra
Course Instructor
Events
• An event is the specification of a significant occurrence
that has a location in time and space.
• In the context of state machines, an event is an
occurrence of a stimulus that can trigger a state
transition.
• A signal is a kind of event that represents the
specification of an asynchronous message communicated
between instances.
Types of Events
• Events may be
– external or
– internal.
• External events are those that pass between the system
and its actors. For example, the pushing of a button
• Internal events are those that pass among the objects
that live inside the system. An overflow exception is an
example of an internal event.
In the UML,
• In the UML, you can model four kinds of events:
– signals,
– calls,
– the passing of time, and
– a change in state.
• Signals
– A message is a named object that is sent asynchronously by one
object and then received by another. A signal is a classifier for
messages; it is a message type.
• Call Events
– Just as a signal event represents the occurrence of a signal, a call
event represents the receipt by an object of a call request for an
operation on the object. A call event may trigger a state transition in
a state machine or it may invoke a method on the target object. The
choice is specified in the class definition for the operation.
• Time and Change Events
– A time event is an event that represents the passage of time. As
Figure 21-4 shows, in the UML you model a time event by using the
keyword after followed by some expression that evaluates to a
period of time..
Interfaces
Already Taught
Find the startup Material for the
same in study material file BBLMS
Activity Diagram/
Swimlane/Modeling
Workflow
Already taught
Find Material in Lab work + Study Material: BBLMS
State Transition /
State Machine/Event
Transition Diagram
Sequence/ EventTrace/ Scenario
/ InteractionDiagramAlready Taught
Find material in Study Material
BBLMS
Common Modeling
Techniques
Preeti Mishra
Course Instructor
Modeling Logical
Database Schema
• In UML modeling logical database schema is done by
class diagrams
Modeling Source Code
Why to model source code
• If you develop software in any programming language
you’ll save your source code in . Extention format
• As your application grows, no matter which language you
use, you'll find yourself organizing these files into larger
groups.
• Furthermore, during the construction phase of
development, you'll probably end up creating new versions
of some of these files for each new incremental release
you produce, and you'll want to place these versions
under the control of a configuration management system.
• Much of the time, you will not need to model this aspect
of a system directly.
Artifact Diagram
• Sometimes, however, it's helpful to visualize these
source code files and their relationships using artifact
diagrams.
• Artifact diagrams used in this way typically contain only
work-product artifacts stereotyped as files, together
with dependency relationships.
modelling system's source code,
• Either by forward or reverse engineering, identify the set
of source code files of interest and model them as
artifacts stereotyped as files.
• For larger systems, use packages to show groups of source
code files.
• Consider exposing a tagged value indicating such
information as the version number of the source code file,
its author, and the date it was last changed. Use tools to
manage the value of this tag.
• Model the compilation dependencies among the source files
using dependencies. Again, use tools to help generate and
manage these dependencies.
Dynamic modeling
Modeling an
Executable Release
Why modeling Executable
release
• Releasing anything other than a simple application is not
so easy.
• You need the main executable (usually, a .exe file), but
you also need all its ancillary parts, such as libraries
commonly .dll files or .class or.jar databases,
• For distributed systems, you'll likely have multiple
executables and other parts scattered across various
nodes.
Why modeling Executable
release
• As you evolve your system, controlling the configuration
of these many artifacts becomes an important activity
and a more difficult one because changes in the artifacts
associated with one application may affect the operation
of other applications.
• For this reason, you use artifact diagrams to visualize,
specify, construct, and document encompassing the
deployment artifacts that form each release and the
relationships among those artifacts.
Modelling executable
release,
• Identify the set of artifacts you'd like to model.
Typically, this will involve some or all the artifacts that
live on one node, or the distribution of these sets of
artifacts across all the nodes in the system.
• Consider the stereotype of each artifact in this set.
• For each artifact in this set, consider its relationship to
its neighbours.
Dynamic modeling
Modeling a Physical
Database
Why??
• A logical database schema captures the vocabulary of a
system's persistent data, along with the semantics of
their relationships. Physically, these things are stored in a
database for later retrieval
• The UML is well suited to modeling physical databases as
well as logical database schemas.
How to make tables
• (Push down) Define a separate table for each class. This is
a simple but naive approach because it introduces
maintenance headaches when you add new child classes or
modify your parent classes.
• (Pull up) Collapse your inheritance lattices so that all
instances of any class in a hierarchy has the same state.
The downside with this approach is that you end up
storing superfluous information for many instances.
• (Split tables) Separate parent and child states into
different tables. This approach best mirrors your
inheritance lattice, but the downside is that traversing
your data will require many cross-table joins.
re 30-4. Modeling a Physical Database

More Related Content

PPTX
PPTX
Ooad unit – 1 introduction
PPTX
Client server architecture
PPTX
UML and Software Modeling Tools.pptx
PPTX
Software Measurement and Metrics.pptx
PPTX
object oriented Programming ppt
PPT
Object Oriented Design
PPTX
Functional modeling
Ooad unit – 1 introduction
Client server architecture
UML and Software Modeling Tools.pptx
Software Measurement and Metrics.pptx
object oriented Programming ppt
Object Oriented Design
Functional modeling

What's hot (20)

PPTX
Need for Software Engineering
PPTX
object oriented methodologies
PPTX
Coding and testing in Software Engineering
PPTX
Software process
PPTX
Overview of UML Diagrams
PPTX
Event handling
PPTX
Software quality assurance
PPT
System requirements specification (srs)
PDF
Requirement Engineering
PPTX
Deadlock ppt
PDF
Software Engineering :UML class diagrams
PPTX
Multimedia Database
PPT
Software estimation
PPTX
INTRODUCTION TO JSP,JSP LIFE CYCLE, ANATOMY OF JSP PAGE AND JSP PROCESSING
PPTX
Introduction to Object Oriented Programming
PPTX
formal verification
PPTX
Requirements management
PPT
Analysis concepts and principles
PDF
Class and Objects in Java
PPT
Ooad
Need for Software Engineering
object oriented methodologies
Coding and testing in Software Engineering
Software process
Overview of UML Diagrams
Event handling
Software quality assurance
System requirements specification (srs)
Requirement Engineering
Deadlock ppt
Software Engineering :UML class diagrams
Multimedia Database
Software estimation
INTRODUCTION TO JSP,JSP LIFE CYCLE, ANATOMY OF JSP PAGE AND JSP PROCESSING
Introduction to Object Oriented Programming
formal verification
Requirements management
Analysis concepts and principles
Class and Objects in Java
Ooad
Ad

Viewers also liked (20)

PPTX
Dynamic and Static Modeling
PPTX
Modeling- Object, Dynamic and Functional
PPTX
PPT
Object modeling
PDF
OOMD2015_KSP
PDF
Dynamic systems-analysis-4
PPTX
Software Engineering Process Models
PDF
Modeling, analysis, and control of dynamic systems
PPT
Process Models IN software Engineering
PPT
Ch05lect2 ud
PDF
Dynamic Information Retrieval Tutorial - SIGIR 2015
PPT
Software Engineering: Models
DOCX
process models- software engineering
PPT
Object oriented modeling and design
PPT
Functional modeling
PPTX
Introduction to mathematical modelling
PDF
Ooad
PDF
Class 6 basics of mathematical modeling
PPTX
Generic Software Process Models
PPTX
Software Process Models
Dynamic and Static Modeling
Modeling- Object, Dynamic and Functional
Object modeling
OOMD2015_KSP
Dynamic systems-analysis-4
Software Engineering Process Models
Modeling, analysis, and control of dynamic systems
Process Models IN software Engineering
Ch05lect2 ud
Dynamic Information Retrieval Tutorial - SIGIR 2015
Software Engineering: Models
process models- software engineering
Object oriented modeling and design
Functional modeling
Introduction to mathematical modelling
Ooad
Class 6 basics of mathematical modeling
Generic Software Process Models
Software Process Models
Ad

Similar to Dynamic modeling (20)

PDF
PPTX
Object_Oriented_Design_Class and Object Diagrams.pptx
PPT
Intoduction to uml
PPTX
Object_Oriented_Design_Architectural Modeling.pptx
PDF
Modeling software with UML
PPTX
Object_Oriented_Design_Basic Behavioral Modeling.pptx
PPT
8.Unified Process Modelling.ppt of software engg
PPT
Cs8592 ooad unit 1
PPT
Cs8592 ooad unit 1
PDF
OOM Unit I - III.pdf
PPT
Introducing object oriented programming (oop)
PPTX
CPP19 - Revision
PPTX
Module_5_Class-Responsibility-Collaborator (CRC) Modeling.pptx
PPTX
Object oriented methodologies
PPTX
Analysis
PPTX
Unit-2 Design and Implementation us.pptx
PPTX
Intro to Data Structure & Algorithms
PDF
OBJECT ORIENTED CONCEPTS,UML DIAGRAMS,DFD
PPTX
Assignment 1 SYD601 2012 rick_danby completed with audio
Object_Oriented_Design_Class and Object Diagrams.pptx
Intoduction to uml
Object_Oriented_Design_Architectural Modeling.pptx
Modeling software with UML
Object_Oriented_Design_Basic Behavioral Modeling.pptx
8.Unified Process Modelling.ppt of software engg
Cs8592 ooad unit 1
Cs8592 ooad unit 1
OOM Unit I - III.pdf
Introducing object oriented programming (oop)
CPP19 - Revision
Module_5_Class-Responsibility-Collaborator (CRC) Modeling.pptx
Object oriented methodologies
Analysis
Unit-2 Design and Implementation us.pptx
Intro to Data Structure & Algorithms
OBJECT ORIENTED CONCEPTS,UML DIAGRAMS,DFD
Assignment 1 SYD601 2012 rick_danby completed with audio

More from Preeti Mishra (20)

PDF
Effective Ways to Conduct Programming labs
PDF
Uml intro
PDF
Component diagram
PDF
Activity diag
PDF
Object diagram
PDF
Sequence diagrams
PDF
State chart diagram
PPT
Use case Diagram
PPTX
Unit 8 software quality and matrices
PPTX
Unit 5 design engineering ssad
PPT
architectural design
PPTX
Oo concepts and class modeling
PPTX
Unit 7 performing user interface design
PPT
testing strategies and tactics
PPT
requirements analysis and design
PPTX
Design process interaction design basics
PPTX
Design process design rules
PPTX
Design process evaluating interactive_designs
PPTX
Foundations understanding users and interactions
PPTX
IntrIntroduction
Effective Ways to Conduct Programming labs
Uml intro
Component diagram
Activity diag
Object diagram
Sequence diagrams
State chart diagram
Use case Diagram
Unit 8 software quality and matrices
Unit 5 design engineering ssad
architectural design
Oo concepts and class modeling
Unit 7 performing user interface design
testing strategies and tactics
requirements analysis and design
Design process interaction design basics
Design process design rules
Design process evaluating interactive_designs
Foundations understanding users and interactions
IntrIntroduction

Recently uploaded (20)

PPT
Mechanical Engineering MATERIALS Selection
PDF
Well-logging-methods_new................
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Construction Project Organization Group 2.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
composite construction of structures.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPT
Project quality management in manufacturing
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Digital Logic Computer Design lecture notes
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Welding lecture in detail for understanding
Mechanical Engineering MATERIALS Selection
Well-logging-methods_new................
Model Code of Practice - Construction Work - 21102022 .pdf
Operating System & Kernel Study Guide-1 - converted.pdf
OOP with Java - Java Introduction (Basics)
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Construction Project Organization Group 2.pptx
R24 SURVEYING LAB MANUAL for civil enggi
composite construction of structures.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Project quality management in manufacturing
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Digital Logic Computer Design lecture notes
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Welding lecture in detail for understanding

Dynamic modeling

  • 2. Events • An event is the specification of a significant occurrence that has a location in time and space. • In the context of state machines, an event is an occurrence of a stimulus that can trigger a state transition. • A signal is a kind of event that represents the specification of an asynchronous message communicated between instances.
  • 3. Types of Events • Events may be – external or – internal. • External events are those that pass between the system and its actors. For example, the pushing of a button • Internal events are those that pass among the objects that live inside the system. An overflow exception is an example of an internal event.
  • 4. In the UML, • In the UML, you can model four kinds of events: – signals, – calls, – the passing of time, and – a change in state.
  • 5. • Signals – A message is a named object that is sent asynchronously by one object and then received by another. A signal is a classifier for messages; it is a message type.
  • 6. • Call Events – Just as a signal event represents the occurrence of a signal, a call event represents the receipt by an object of a call request for an operation on the object. A call event may trigger a state transition in a state machine or it may invoke a method on the target object. The choice is specified in the class definition for the operation.
  • 7. • Time and Change Events – A time event is an event that represents the passage of time. As Figure 21-4 shows, in the UML you model a time event by using the keyword after followed by some expression that evaluates to a period of time..
  • 8. Interfaces Already Taught Find the startup Material for the same in study material file BBLMS
  • 9. Activity Diagram/ Swimlane/Modeling Workflow Already taught Find Material in Lab work + Study Material: BBLMS
  • 10. State Transition / State Machine/Event Transition Diagram
  • 11. Sequence/ EventTrace/ Scenario / InteractionDiagramAlready Taught Find material in Study Material BBLMS
  • 14. • In UML modeling logical database schema is done by class diagrams
  • 16. Why to model source code • If you develop software in any programming language you’ll save your source code in . Extention format • As your application grows, no matter which language you use, you'll find yourself organizing these files into larger groups. • Furthermore, during the construction phase of development, you'll probably end up creating new versions of some of these files for each new incremental release you produce, and you'll want to place these versions under the control of a configuration management system. • Much of the time, you will not need to model this aspect of a system directly.
  • 17. Artifact Diagram • Sometimes, however, it's helpful to visualize these source code files and their relationships using artifact diagrams. • Artifact diagrams used in this way typically contain only work-product artifacts stereotyped as files, together with dependency relationships.
  • 18. modelling system's source code, • Either by forward or reverse engineering, identify the set of source code files of interest and model them as artifacts stereotyped as files. • For larger systems, use packages to show groups of source code files. • Consider exposing a tagged value indicating such information as the version number of the source code file, its author, and the date it was last changed. Use tools to manage the value of this tag. • Model the compilation dependencies among the source files using dependencies. Again, use tools to help generate and manage these dependencies.
  • 21. Why modeling Executable release • Releasing anything other than a simple application is not so easy. • You need the main executable (usually, a .exe file), but you also need all its ancillary parts, such as libraries commonly .dll files or .class or.jar databases, • For distributed systems, you'll likely have multiple executables and other parts scattered across various nodes.
  • 22. Why modeling Executable release • As you evolve your system, controlling the configuration of these many artifacts becomes an important activity and a more difficult one because changes in the artifacts associated with one application may affect the operation of other applications. • For this reason, you use artifact diagrams to visualize, specify, construct, and document encompassing the deployment artifacts that form each release and the relationships among those artifacts.
  • 23. Modelling executable release, • Identify the set of artifacts you'd like to model. Typically, this will involve some or all the artifacts that live on one node, or the distribution of these sets of artifacts across all the nodes in the system. • Consider the stereotype of each artifact in this set. • For each artifact in this set, consider its relationship to its neighbours.
  • 26. Why?? • A logical database schema captures the vocabulary of a system's persistent data, along with the semantics of their relationships. Physically, these things are stored in a database for later retrieval • The UML is well suited to modeling physical databases as well as logical database schemas.
  • 27. How to make tables • (Push down) Define a separate table for each class. This is a simple but naive approach because it introduces maintenance headaches when you add new child classes or modify your parent classes. • (Pull up) Collapse your inheritance lattices so that all instances of any class in a hierarchy has the same state. The downside with this approach is that you end up storing superfluous information for many instances. • (Split tables) Separate parent and child states into different tables. This approach best mirrors your inheritance lattice, but the downside is that traversing your data will require many cross-table joins.
  • 28. re 30-4. Modeling a Physical Database