Results 1 to 6 of 6

Thread: Java and UML Interaction Diagrams

  1. #1
    Join Date
    Feb 2010
    Posts
    207

    Java and UML Interaction Diagrams

    Hi all,
    I am using UML class diagrams, here I want to know that another kind of UML diagram - interaction diagram. Interaction diagram describes an interaction between the group of objects, or, where we actually have to answer the question: "method call process in UML, how that?" The system consists of six Java classes. Several articles from the front, we already know UML class diagram is to analyze the structure of Java programs an effective way. I want know more about Java and UML Interaction Diagrams. Please suggest. Thanks in advance.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Java and UML Interaction Diagrams

    If you follow any of a Java program execution, you will find that the process contains one or more pairs of classes and objects of the method call. We are by calling the object's method to find answers to specific questions or perform a specific action. In many cases, is called the method also calls other methods - or the same object's method, or the same kind of way to other objects, or other type of object methods. Similarly, these methods have been called other methods will continue to call until the problem has been a clear answer or action all is finished. UML interaction diagram graphically expressed in the form of method invocation process, which has two forms: sequence diagram, and collaboration diagrams. Best of luck.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Java and UML Interaction Diagrams

    To achieve a particular goal, You will have to perform a series of method calls. UML sequence diagram of the typical use is to show ways in which the calling procedure. UML into operation is defined as the method of characteristics. "Method" (Method) as this term is reserved for the realization of operational code. However, in Java environment, "method" of the term, broader range of applications. In the UML sequence diagram, call an operator is called to send a message. Sequence diagram actually described the operation of the concrete realization, so the following will be more to use "method" is the term. Check and reply.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Java and UML Interaction Diagrams

    As UML class diagrams, like the original source code files need to see more information in order to understand, through a UML sequence diagram can be expressed. The code has been implemented for reverse engineering to obtain the corresponding sequence diagrams, are not familiar with the code can help developers quickly understand the process workflow.I will give you example that Sale class complete () method of the sequence diagram, it is called the order (Message) in the number. complete () method call of the Sale class the other two methods, namely, calcTotal () and calcPayments () with callback object is called its own methods. Check and reply.

  5. #5
    Join Date
    Jan 2008
    Posts
    1,521

    Java and UML Interaction Diagrams

    UML interaction diagram is another form of collaboration diagram. Collaboration diagrams and sequence diagrams are semantically the same, but the way the object collaboration diagram more liberal arrangement is entirely decided by the drawing of those preferences. In the collaboration diagram in the order of the interaction of the decision by the message number. Some people prefer this graphic way, many of the features a relatively complete UML tool allows users to a map in the sequence diagram collaboration diagram symbols and convert back and forth between symbols. Some developers have suggested that, with collaboration diagram to show the interaction between components, using sequence diagrams to show the internal components of the various classes of interaction. Collaboration diagram is equivalent to the sequence diagram shown in Collaboration diagrams and sequence diagram. All the best.

  6. #6
    Join Date
    Apr 2008
    Posts
    2,005

    Java and UML Interaction Diagrams

    In practice, many of the required interaction sequence can be implicit in the class diagram, especially those with class class diagram to represent a specific prototype and Stereotype behavior and interaction patterns of the time. UML interaction diagram to replace the original implicit interaction clearly expressed, but also a clear indication of the original class diagram is not clear in the process of interaction. In other words, UML interaction diagram is inclined to describe the static characteristics of the class diagram of the supplement, making the object dynamic interactive process clear. All the best.

Similar Threads

  1. How to use Lucid Chart to create online diagrams
    By Steinbach in forum Tips & Tweaks
    Replies: 1
    Last Post: 08-08-2012, 07:16 PM
  2. Software for producing Electrical Diagrams
    By kristtoper in forum Windows Software
    Replies: 5
    Last Post: 10-11-2010, 12:16 PM
  3. Information about OS interaction through DOS
    By Gajendra1 in forum Operating Systems
    Replies: 6
    Last Post: 09-06-2010, 01:06 PM
  4. What is Data Flow Diagrams and how to write it
    By Steyn in forum Windows Software
    Replies: 3
    Last Post: 18-05-2009, 06:44 PM
  5. Open Visio Diagrams in Multiple Program Windows
    By WindowsGeek in forum Tips & Tweaks
    Replies: 0
    Last Post: 12-01-2009, 02:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,726,854,937.43731 seconds with 17 queries