Geert did a very nice post explaining his Ideas on Sequence Diagrams inside Classes! As I like Sequence Diagrams a lot – I like this post. It shows how it can be done with Enterprise Architect.

Two important things are explained:

  • Instances vs. Classes
  • Methods vs. Operations

Full read: http://geertbellekens.wordpress.com/2011/05/27/uml-best-practice-one-operation-one-sequence-diagram/

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Lately I developed more state machines than ever before. In the past I had respect for that type of diagrams but now I think it’s just cool Thumbs up

Why to use state-machines at all?

UML supports state charts for really long time, but only a small part of UML community uses state-machines on a regular basis.
My experience confirms that – it isn’t easy to start using them. The question is – why?

In my opinion, the reason is – the way how the people do thinking – in functions and activities (actually straight forward Smile). Therefore most of us likes sequence and activity charts better.
Everybody begins programming by writing functions – first, you have an idea of desired result in your mind and next, to get that result – you program a… function. Other way around – nobody will start thinking about classes, instances, states, interaction between objects, etc. if you just want e.g. to parse some strings.

But one day you want to (or you have to :) ) develop code in a more structured way. At that point machines can help
- Why? Because they get the object oriented methodology to the heart of the matter – it’s all about objects and their states. But as already mentioned above, at the beginning, state-machines seem to be non-trivial
– So what to do?

How to get the state-machine right?

Wouldn’t be great if an UML tool could interact with you and give you feedback while modeling to show if you are still on the right track?
– It’s exactly what AMUSE does. It extends Enterprise Architect to an interactive UML tool.

My first lesson learned with AMUSE

  1. First, install the tool – very easy
  2. Cause I developed state machines before AMUSE, the next step was also easy going – created a model, a view, a package, added an state diagram and drew a trivial state chart
  3. Next, I wanted of course to know if it’s executable – the first thing I had to learn was to add every state-machine into simulation window manually. Actually it’s annoying, hope we change that in the next version Smile
  4. But already at the fourth step I learned a really important thing – every state machine belongs to a class. First, I thought it is also nonsense, but then I’ve got it

Basically it is easy and exactly the right way to think:

- So, you want a state chart? First question you have to answer – state of what? And the answer is – state of class you have to design.

Answering that question is the first step in the right direction of good design!

Bottom line

To cut a long story short:

  • State machines are cool, because they guide you to a good design
  • AMUSE is cool, because it guides you to a good state machine Smile
    - e.g. it creates automatically a class and a state machine that belongs to a state diagram if you forgot Smile

meanwhile i came to the conclusion:
- Usage of state machines is probably most suitable way to enter into object oriented design, but they are also excellent helpers for experts.

Next time more …

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Today I learned that our Statemachine Simulation AMUSE for Sparxsystems Enterprise Architect has been featured on a Japanese Blog!

image

If you can handle Japanese have a nice read!

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Today we released AMUSE 1.5 or UML Simulation plug-in for Sparx Systems Enterprise Architect 8 to the German speaking press:

image

Offizieller Start: LieberLieber AMUSE 1.5 für Sparx Systems Enterprise Architect – pressetext.austria

It’s always existing to see how a press release is being picked up.

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Our Partner company from the UK Dunstan Thomas will be conducting a Webinar on “LieberLieber AMUSE” in collaboration with us.

Register now:
To register you interest for this webinar please email us with your name, company, telephone number and email address along with the title of the webinar you wish to register for. We’ll then send you login details for the webinar on the week prior to the event. Register your interest here.

Unavailable on the day?
As before for those of you unable to attend any of our webinars, don’t worry, all of our webinars are available for download from the Dunstan Thomas site.

.

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

We are currently very busy in preparing the next Release of AMUSE – most of the features are allready completed so we compiled a little Video!

Currently implemented new Features:

  • smaller and faster Setup
  • Single Step Simulation
  • Sub and extended Diagrams will be opened on simulation
  • Simulation stops if user switches Diagram
  • improved external Reference feature (easier for .net implementations)
  • Possibility to update Referenced (easier for .net implementations)
  • Testcases can  be defined via contraints and are taken into account during simulation
  • AMUSE Addin Window in Enterprise Architect 8.0 is now dockable
  • Toolbar gives for better usability than the previous context menus

It can also be downloaded.

We are still working on other new Features like the possibility to simulate Activity Diagrams – and a HTTP Bridge to connect Embedded Hardware….

Other than that we are working on a showcase for Windows CE and Lego Mindstorms….

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

Große Modelle können unübersichtlich werden – wie wäre es also State Machines in 3D in verschiedenen Layern darzustellen?

Christian hat mir heute einen Link auf sehr cooles Youtube Video geschickt. – Mehr das zu findet ihr hier: X3D-UML – X3D-UML

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg