Search the web
Sign In
New User? Sign Up
executableuml
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Procedures and functions   Message List  
Reply | Forward Message #940 of 1107 |
Hi,

I'm trying to apply the concepts from the book in a real world
application which main domain is access control. But I got stuck on
early stages with a basic question: what about functions? The book
talks a lot about communicating objects throught asynchronous signals,
which trigger non-blocking procedures on the receiving objects. It
seems there isn't any single case through all the book case study
(order management) of an object needing to wait for another object
response before taking some execution path decision (if/then/else).
Instead, all the decisions showed there were based on query (select)
results.

Initialy I thought there is no need to an object to wait a response
from another, because the second object would send a signal to the
former when it had arrived at some state or condition that the former
needs to know, which seems to corroborate to the idea of no controller
objects too. But my system has a lot of decision points of the form:

In object A:
if some condition related to object B holds true, then do this; else
do that. ("do this" and " do that" do not modify B's state)

...and in object B:
if some condition related to object C holds true, then return true;
else return false.

...and in object C:
if some condition related to object D holds true, then return true;
else return false.

And so on.

This compounds a hierarquical decision tree, where the action taken by
an object depends on a query on another object, which depends on a
query on another object, and so on. The way I modeled above, object A
only needs to talk to C. It doesn't need to know anything about B or
D's existence nor implementation, and vice-versa. How can this be
re-frased using asynchronous signals and non-blocking,
non-value-returning procedures? I can only think about it in terms of
functions and hierarquical communication, which may resemble to
controller objects.

How should this be handled using the Executable UML modelling concepts
provided in the book?

I would appreciate any enlightenment or opinion. Thanks!

Regards,
Charles Abreu










Sat Sep 2, 2006 4:11 pm

chlabreu
Offline Offline
Send Email Send Email

Forward
Message #940 of 1107 |
Expand Messages Author Sort by Date

Hi, I'm trying to apply the concepts from the book in a real world application which main domain is access control. But I got stuck on early stages with a...
Charles Lopes de Abreu
chlabreu
Offline Send Email
Oct 3, 2006
5:40 am

Hi, I'm trying to apply the concepts from the book in a real world application, wich main domain is access control. But I got stuck on early stages with a ...
Charles Abreu
chlabreu
Offline Send Email
Oct 3, 2006
5:41 am

Responding to Abreu... The first thing to note is that knowledge (what an object is responsible for knowing) and behavior (what an object is responsible for...
H. S Lahman
H.S.Lahman
Offline Send Email
Oct 6, 2006
12:59 am

Charles - I agree with H.S. Lahman's comments on the intentions of the real-time, model compiler/MDA oriented Executable UMLs (eUML, iUML, xtUML, * UML, etc.)....
Leon Starr
model_integr...
Offline Send Email
Oct 6, 2006
1:00 am

Hi Charles, This is a great question - one that has echoed over the past 15 years. As basic eUML concepts are introduced, new adopters look for familiar ...
Peter Fontana
peterfontana
Offline Send Email
Oct 6, 2006
12:59 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help