- A state diagram, also called a state machine diagram or statechart diagram, is an illustration of the states an object can attain as well as the transitions between those states in the Unified Modeling Language (UML). In this context, a state defines a stage in the evolution or behavior of an object, which is a specific entity in a program or the unit of code representing that entity. State diagrams are useful in all forms of object-oriented programming (OOP). The concept is more than a decade old but has been refined as OOP modeling paradigms have evolved.
A state diagram resembles a flowchart in which the initial state is represented by a large black dot and subsequent states are portrayed as boxes with rounded corners. There may be one or two horizontal lines through a box, dividing it into stacked sections. In that case, the upper section contains the name of the state, the middle section (if any) contains the state variables and the lower section contains the actions performed in that state. If there are no horizontal lines through a box, only the name of the state is written inside it. External straight lines, each with an arrow at one end, connect various pairs of boxes. These lines define the transitions between states. The final state is portrayed as a large black dot with a circle around it. Historical states are denoted as circles with the letter H inside.
 |
Learn more about XML and XML schema |
| XML Tutorial: This tutorial explains what XML is, how it's used, and where it fits into the world of Web services. |
| Using RELAX NG For data integration: XML Schema proving a difficult fix when it comes to data integration? Perhaps you should take a look at RELAX NG. |
| Handling XML with Ajax: This chapter discusses how to create an XML document in Ajax. |
| SOA Chapters: Welcome to SearchSOA.com's Bookshelf, where you can browse our collection of free chapter downloads for everything service-oriented architecture and Web services. |
| Making sense of data services mashups: Data services mashups would be easy if all the data was in XML. Since it is not, Kirstan Vandersluis of XAware Inc. explains how open source tools can help convert SQL into XML. |
| Chapter of the week: Security and Ajax: This chapter, excerpted from Ajax in Action, discusses security-related concerns that have particular implications for Ajax. |
| Chapter of the week: XML Web services: This chapter, excerpted from Core C# and .NET, takes a look at the pluses and minues of implementing and consuming Web services in a .NET environment. |
| Chapter of the week: Introduction to Web services technologies: This chapter, excerpted from Service-Oriented Architecture: A Field Guide to Integrating XML and Web Services, focuses on the standards that make up the Web services platform and how Web ... |
| Chapter of the Week: "XML Performance and Size": There are a variety of special issues that affect all areas of XML. This chapter focuses on XML performance and size and explains how to work with these shortcomings within a high-performance ... |
| XML Security Tutorial: This XML security tutorial is a compilation of resources that review different types of XML security standards and approaches for keeping your XML Web services secure. |
| LAST UPDATED: |
12 Apr 2007
|
 |
Do you have something to add to this definition? Let us know.
Send your comments to techterms@whatis.com
|

 |
More resources from around the web:
|


');
// -->


 |
 |
|  |
RELATED GLOSSARY TERMS
| Terms from Whatis.com − the technology online dictionary |
 |
class diagram
(SearchSOA.com)
A class diagram is an illustration of the relationships and source code dependencies among classes in the Unified Modeling Language (UML)... ...
|
 |
Fast Infoset (FI)
(SearchSOA.com)
Fast Infoset (FI) is a standard that can serve as an alternative to XML (Extensible Markup Language) document formatting... (Continued)
|
|

|