UML: Behavioral Modeling

Computers & Internet Article Directory, Get Free Reprint Articles and Computers & Internet Content for your site with
article directory
54866 *recent articles in 509 categories Last article added 11/15/07
 
Article Categories
 
Reviews
 
Site Menu
 
Site Search


 
ArticlePros.com » Computers & Internet » Programming » UML: Behavioral Modeling

  • Date: 2006-06-22
  • Author: Chris Kemp
  • All articles by this author
  • Visit author's website
  • UML: Behavioral Modeling


    Related Programming Articles

         Interaction Modeling- Sequence and Collaboration
    Most of the items in sequence and collaboration categories overlap. The sequence model emphasizes events in the time element of the interaction while the Collaboration models try to show relationships between objects and components.
    Sequence Diagram
    Sequence Diagrams have Objects as columns, and timelines as vertical ‘rows’.


    The time axis is down the page. The vertical rectangles indicate activation of a class, while the dotted vertical lines represent the life of the object. One can adjust the length of each ‘time’ feature.
    Messages between objects are represented by horizontal arrows. They can be either synchronous (acknowledging) or asynchronous (not acknowledging). The dotted arrow is a response. The sequencing of the messages are represented by their order from the top of the chart.
    In the above example, the heater sends signals to the thermostat. When a certain point is reached, the thermostat sends a message to the switching system, which, in turn responds by shutting down the heating system.
    Collaboration Diagrams
    Collaboration diagrams concentrate on the messaging interaction between objects from a functional point of view, rather from a sequential point of view.

    In the diagram above, 5 objects are linked in the order entry process. The salesman enters the system with his ID and gets a new sales order. The sales order object then checks the customer file for the customer’s ID and the file checks the Accounting object to assure that the customer’s credit is good.
    Then, the sales order object allows the entry of line items for this order, checking the inventory for each item to see whether it is in stock. The process certainly could be extended to provide for back order, of manufacturing activity, as well as shipping, billing and collection, with inventory and associated accounting entries being made on the way.
    During this collaboration process, constraints and methods can be attached to the messages to notify other objects, make data entries into a database, send email and generate exception reports. Presently, the level of sophistication is somewhat below what one could expect from a developer program which specializes in process engineering, such as VisGen, or Case Tools. However, one should also keep in mind that once Excel and Word were also rated as ‘second tier’ products. The Vision version of UML that accompanies Microsoft’s .NET package is certainly rich enough with features to design all but the most involved multi-year project at the current time. In addition, Microsoft Project is an OLE compliant product whose features can easily be integrated into the process of developing software.
    Resources
    Book Review: UML For Java Programmers
    This link provides review on book dealing with UML.
    • Books List on UML
    This link provides list of comprehensive books on UML.
    • Book: The Unified Modeling User Guide
    This book deals with UML and is intended to be read by people involved in the production of object-oriented software systems.

    More articles from this pro: http://www.ArticlePros.com/author.php?Chris Kemp


    More on Computers & Internet and Programming can be found here.
     

    Get this article to go

    RSS | JScript | Email | HTML

     

    About the author

    Chris Kemp is a well known author who writes best quality articles on IT, Software, Programming, etc. For further details please visit the site www.paladn.com

    http://www.paladn.com

     
    Email options
       

    ** Check all that apply **

     

    This article has been accessed 822 times since 2006-06-22.


    Home  •  Search  •  Add Your Own Article  •  RSS feeds  •  JavaScript Feeds  •   •  Set as Homepage  •  Add to Favourites
    Disclaimer: The information presented and opinions expressed herein are those of the authors
    and do not necessarily represent the views of ArticlePros.com and/or its partners.
    Copyright ArticlePros.com © 2005. All Rights Reserved