ÿþ<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="author" content="Luka Cvrk (www.solucija.com)" /> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1" /> <title title="Himalia: Business process and use cases">Himalia: Business process and use cases</title> <meta name="description" content="Define the processes and use cases using Himalia." /> <meta name="keywords" content="Model-driven user interfaces, user interface builder, use cases, process, processes, workflow, wwf" /> <link rel="stylesheet" href="images/style.css" type="text/css" /> <link rel="shortcut icon" href="BrowserIcon.ico" /> </head> <body> <div class="content" style="width:99%"> <div class="header"> <div class="logo"> <table> <tr> <td valign="top"><img src="images/UserInterfaceIcon.png" height="50" /></td> <td width="100%"><h1><a href="#"><span class="dark">himalia</span>.net</a></h1></td> </tr> </table> </div> </div> <div class="bar"> <ul> <li id="catHome"><a href="index.html">Home</a></li> <li id="catShowcases"><a href="cases.html">Showcases</a></li> <li id="catDownload"><a href="download.html">Download</a></li> <li id="catDocumentation" class="active"><a href="docs.html">Learn</a></li> <li id="catCommunity"><a href="community.html">Community</a></li> <li id="catFaq"><a href="faq.html">FAQ</a></li> <li id="catAbout"><a href="about.html">About Us</a></li> </ul> </div> <!-- Bradcumbs START --> <h5> &nbsp; <a href="docs.html">Learn</a> &nbsp;>&nbsp; Model & Process &nbsp;>&nbsp; <a href="docs_modelOverview.html">Models</a> </h5> <!-- Bradcumbs END --> <div id="spanDocumentation" class="left"> <span style="font-size: 16pt; color: #666699">Use Case Model</span><br /> <span style="font-size: 1.1em"> </span> <br /> <table width="100%"> <tr> <td valign="top" width="20px">&nbsp;</td> <td width="*"> <span style="font-size: 1.1em"> In order to represent the Use Case life cycle we continued the extension to the UML State Machine Diagrams made in [Coa04]. The diagram allows specifying each Use Case using states, events, conditions, transitions and service invocations. <br /> <br /> Events are fired by the user. When an event is fired, it starts a transition if the guard is satisfied. A transition goes from one state to another and can have an associated service invocation (to the Service Layer). <br /> <br /> <img src="images/UseCaseExample.jpg" /> <br /> <br /> <b>States</b><br /> Use cases are defined using these state types: Initial State, Static State, Dynamic State, Composite State and Final State. <br /> <br /> The Initial State represents the beginning of the Use Case. It is unique and has a single transition towards the first state without event and guard (we auto-name it as epsilon). This transition, nevertheless, can invoke system services. <br /> <br /> A Dynamic State does not involve user interaction. It is used to branch off the flow of the Use Case and corresponds generally with decision making based on the use case information. <br /> <br /> Static States represent a period of time in which the user interface is waiting for a user-driven event. <br /> <br /> A Final State represents the completion of the use case. You can have many of them in the same state machine. A final state can be Successful or Fail. A Successful Final State indicates the use case complete conclusion, whereas a Fail one represents the occurrence of some exception. <br /> <br /> <b>Information Space (Use Case variables)</b><br /> Each use case has its own information space. While server-side script languages (ASP) have session variables, Himalia has both session variables and use case variables. Session variables are global; you can get them anywhere. But session variables are not enough if more than one use case instance is running at the same time. For this reason we need use case variables, attached to the use case life cycle. <br /> <br /> <table valign="top"> <tr> <td colspan="2"><h3>Academic references</h3></td> </tr> <tr> <td valign="top">[Coa04]</td> <td> Máquinas de Estados para Interfaz de Usuario , Diplomado en Ingeniería de Software, Universidad de Chile<br /> Grupo COAL, Facultad de Ingeniería de la República Oriental del Uruguay<br /> 2004 </td> </tr> <br /> <br /> </span> </td> <td width="*">&nbsp;</td> </tr> </table> </div> <div class="footer"> <table width="100%"> <tr> <td align=left> &copy; <b>Copyright 2006 Himalia. </b> <div style="display:none"> <!--ONESTAT SCRIPTCODE START--> <!-- // Modification of this code is not allowed and will permanently disable your account! // Account ID : 322915 // Website URL: http://www.himalia.net // Copyright (C) 2002-2006 OneStat.com All Rights Reserved --> <div id="OneStatTag"> <table border='0' cellpadding='0' cellspacing='0'> <tr> <td align='center'> <script type="text/javascript"> <!-- function OneStat_Pageview() { var d=document; var sid="322915"; var CONTENTSECTION=""; var osp_URL=d.URL; var osp_Title=d.title; var t=new Date(); var p="http"+(d.URL.indexOf('https:')==0?'s':'')+"://stat.onestat.com/stat.aspx?tagver=2&sid="+sid; p+="&url="+escape(osp_URL); p+="&ti="+escape(osp_Title); p+="&section="+escape(CONTENTSECTION); p+="&rf="+escape(parent==self?document.referrer:top.document.referrer); p+="&tz="+escape(t.getTimezoneOffset()); p+="&ch="+escape(t.getHours()); p+="&js=1"; p+="&ul="+escape(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage); if(typeof(screen)=="object"){ p+="&sr="+screen.width+"x"+screen.height;p+="&cd="+screen.colorDepth; p+="&jo="+(navigator.javaEnabled()?"Yes":"No"); } d.write('<a href="http://www.onestat.com/aspx/login.aspx?sid='+sid+'" target=_blank><img id="ONESTAT_TAG" border="0" src="'+p+'" alt="This site tracked by OneStat.com. Get your own free site tracker."></'+'a>'); } OneStat_Pageview(); //--> </script> <noscript><a href="http://www.onestat.com/aspx/login.aspx?sid='+sid+'"> <img border="0" src="http://stat.onestat.com/stat.aspx?tagver=2&amp;sid=322915&amp;js=No&amp;" alt="internet stats" /></a></noscript></td> </tr> <tr> <td align='center'> <div style="color: black; display: none; font-family: 'Verdana';"> <a href="http://www.onestat.com/" style="text-decoration: none;">internet stats</a><br /> </div> </td> </tr> </table> </div> <!--ONESTAT SCRIPTCODE END--> </div> </td> </tr> </table> </div> </div> </body> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-648379-1"; urchinTracker(); </script> </html>