Logo

Navigation
  • Home
  • Services
    • ERP Solutions
    • Implementation Solutions
    • Support and Maintenance Solutions
    • Custom Solutions
    • Upgrade Solutions
    • Training and Mentoring
    • Web Solutions
    • Production Support
    • Architecture Designing
    • Independent Validation and Testing Services
    • Infrastructure Management
  • Expertise
    • Microsoft Development Expertise
    • Mobile Development
    • SQL Server Database and BI
    • SAP BI, SAP Hana, SAP BO
    • Oracle and BI
    • Oracle RAC
  • Technical Training
    • Learn Data Management
      • Business Intelligence
      • Data Mining
      • Data Modeling
      • Data Warehousing
      • Disaster Recovery
    • Learn Concepts
      • Application Development
      • Client Server
      • Cloud Computing Tutorials
      • Cluster Computing
      • CRM Tutorial
      • EDI Tutorials
      • ERP Tutorials
      • NLP
      • OOPS
      • Concepts
      • SOA Tutorial
      • Supply Chain
      • Technology Trends
      • UML
      • Virtualization
      • Web 2.0
    • Learn Java
      • JavaScript Tutorial
      • JSP Tutorials
      • J2EE
    • Learn Microsoft
      • MSAS
      • ASP.NET
      • ASP.NET 2.0
      • C Sharp
      • MS Project Training
      • Silverlight
      • SQL Server 2005
      • VB.NET 2005
    • Learn Networking
      • Networking
      • Wireless
    • Learn Oracle
      • Oracle 10g
      • PL/SQL
      • Oracle 11g Tutorials
      • Oracle 9i
      • Oracle Apps
    • Learn Programming
      • Ajax Tutorial
      • C Language
      • C++ Tutorials
      • CSS Tutorial
      • CSS3 Tutorial
      • JavaScript Tutorial
      • jQuery Tutorial
      • MainFrame
      • PHP Tutorial
      • VBScript Tutorial
      • XML Tutorial
    • Learn Software Testing
      • Software Testing Types
      • SQA
      • Testing
  • Career Training
    • Career Improvement
      • Career Articles
      • Certification Articles
      • Conflict Management
      • Core Skills
      • Decision Making
      • Entrepreneurship
      • Goal Setting
      • Life Skills
      • Performance Development
      • Personal Excellence
      • Personality Development
      • Problem Solving
      • Relationship Management
      • Self Confidence
      • Self Supervision
      • Social Networking
      • Strategic Planning
      • Time Management
    • Education Help
      • Career Tracks
      • Essay Writing
      • Internship Tips
      • Online Education
      • Scholarships
      • Student Loans
    • Managerial Skills
      • Business Communication
      • Business Networking
      • Facilitator Skills
      • Managing Change
      • Marketing Management
      • Meeting Management
      • Process Management
      • Project Management
      • Project Management Life Cycle
      • Project Management Process
      • Project Risk Management
      • Relationship Management
      • Task Management
      • Team Building
      • Virtual Team Management
    • Essential Life Skills
      • Anger Management
      • Anxiety Management
      • Attitude Development
      • Coaching and Mentoring
      • Emotional Intelligence
      • Stress Management
      • Positive Thinking
    • Communication Skills
      • Conversation Skills
      • Cross Culture Competence
      • English Vocabulary
      • Listening Skills
      • Public Speaking Skills
      • Questioning Skills
    • Soft Skills
      • Assertive Skills
      • Influence Skills
      • Leadership Skills
      • Memory Skills
      • People Skills
      • Presentation Skills
    • Finding a Job
      • Etiquette Tips
      • Group Discussions
      • HR Interviews
      • Interview Notes
      • Job Search Tips
      • Resume Tips
      • Sample Resumes
 

UML Elements : Sequence Diagram

By Exforsys | on June 14, 2007 |
UML

UML Elements : Sequence Diagram

In the Unified Modeling Language, the sequence diagram is the name that has been given to the Message Sequence Chart. The sequence diagram will be responsible for showing various processes or elements that exist together simultaneously, and it will often be represented by parallel vertical lines.

The sequence diagram may also be represented by horizontal arrows, as well as the messages that will be sent among them, and in the category in which these messages are transferred. The sequence diagram allows for the creation of various runtime events in a graphical way. For example, you may have a UML diagram that defines message sequences of a basic system.

If you are the owner of a restaurant, you may have a diagram which shows a customer ordering food/drinks, consuming the drinks and the food, and then paying for the meal. The diagram may show dotted lines which point downward, and these could be used to represent the time frame. With the sequence diagram, time will go from the top to the bottom. The arrows will be used to denote messages from one object to other objects, and these messages may be called stimuli. As an example, when the customer in your restaurant pays for his/her meal, they may send a message called "pay" to the person who takes their money.

With a sequence diagram, you may see half arrows, and these are used to denote method calls that are asynchronous. For UML 2.0, the sequence diagram will support a notation which is similar to UML 1.0. However, it will have additional support for various modeling methods that are connected to the basic flow of events. To fully understand the power of the sequence diagram, it is important for you to understand what comprises it. This will require you to understand the various parts that make up the sequence diagram, and I will go over these various parts below.

Sequence Diagram Parts

The sequence diagram is an element that is used primarily to showcase the interaction that occurs between multiple objects. This interaction will be shown over a certain period of time. Because of this, the first symbol that is used is one that symbolizes the object. A lifeline will generally be generated, and it is a dashed line that sits vertically, and the top will be in the form of a rectangle. This rectangle is used to indicate both the instance and the class. If the lifeline must be used to denote an object, it will be underlined. If you don’t fill in the name of the instance, the blank space may be used to represent various instances which are anonymous.

To showcase an interaction, messages will be used. These messages will come in the form of horizontal arrows, and the messages should be written on top of the arrows. If the arrow has a full head, and it’s solid, it will be called a synchronous call. If the solid arrow has a stick head, it will be an asynchronous call. Stick heads with dash arrows are used to represent return messages. In addition to UML 1.0, this feature is also true for UML 2.0. The activation boxes, which may also be known as method call boxes, are rectangles which are opaque. They will be drawn on the top of a lifeline, and this will be used to denote procedures which are being carried out as a result of the message.

Objects will also be given the ability to call methods upon themselves, and they can add net activation boxes. Because of this, they can communicate with others to show multiple levels of processing. Whenever an object is eradicated or erased from memory, the "X" will be drawn at the lifeline’s top, and the dash line will not be drawn beneath it. This will often occur as a result of a message. If a message is sent from the outside of the diagram, it can be used to define a message that comes from a circle that is filled in. Within a UML based model, a Superstep is a collection of steps which result from outside stimuli. Now that I’ve gone over the sequence diagram and what comprises it, I will next talk about the Use Case Diagram.

Conclusion

Many developers feel that the sequence diagram is one of the most powerful aspects of the Unified Modeling Language. Once you understand the various parts that make up sequence diagram, you can fully realize the its power.

« « Supply Chain Management in a Nutshell
How reading can Improve your Career » »

Author Description

Avatar

Editorial Team at Exforsys is a team of IT Consulting and Training team led by Chandra Vennapoosa.

Free Training

RSSSubscribe 394 Followers
  • Popular
  • Recent
  • UML basics

    June 5, 2007 - 0 Comment
  • UML Elements : Use Case Diagram

    June 15, 2007 - 0 Comment
  • Using UML with Java

    June 19, 2007 - 0 Comment
  • Using UML with PHP and Perl

    June 23, 2007 - 0 Comment
  • Using UML with .NET

    June 25, 2007 - 0 Comment
  • UML Elements : Class Diagram

    June 12, 2007 - 0 Comment
  • UML Certifications

    July 1, 2007 - 0 Comment
  • UML Elements : State Diagram

    June 12, 2007 - 0 Comment
  • UML Introduction

    May 29, 2007 - 0 Comment
  • UML Industry Usage

    May 29, 2007 - 0 Comment
  • UML Certifications

    July 1, 2007 - 0 Comment
  • Using UML with .NET

    June 25, 2007 - 0 Comment
  • Using UML with PHP and Perl

    June 23, 2007 - 0 Comment
  • Using UML with Java

    June 19, 2007 - 0 Comment
  • UML Elements : Use Case Diagram

    June 15, 2007 - 0 Comment
  • UML Elements : State Diagram

    June 12, 2007 - 0 Comment
  • UML Elements : Class Diagram

    June 12, 2007 - 0 Comment
  • UML basics

    June 5, 2007 - 0 Comment
  • How UML Helps Projects

    June 1, 2007 - 0 Comment
  • Why Unified Modeling Language (UML)

    May 30, 2007 - 0 Comment

Exforsys e-Newsletter

ebook
 

Related Articles

  • UML Certifications
  • Using UML with .NET
  • Using UML with PHP and Perl
  • Using UML with Java
  • UML Elements : Use Case Diagram

Latest Articles

  • Project Management Techniques
  • Product Development Best Practices
  • Importance of Quality Data Management
  • How to Maximize Quality Assurance
  • Utilizing Effective Quality Assurance Strategies
  • Sitemap
  • Privacy Policy
  • DMCA
  • Trademark Information
  • Contact Us
© 2023. All Rights Reserved.IT Training and Consulting
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.AcceptReject Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT