Book a Demo

Author Topic: Is it me, or is there something wrong with UML  (Read 3224 times)

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Is it me, or is there something wrong with UML
« on: February 15, 2005, 07:29:42 pm »
OK, I've got a web app here that involves a whole bunch of components:
The client browser, 2 web servers, 2 app servers,  a three tiered back end system, 2 external payment gateways (one, CCD validation, is hidden from the web user and one, deferred payment service from the PO, involves direct user interation) and the customers e-mail clientd (we can ignore the SMTP server at present).

What I am trying to do is model all the messages between the components that make up a transaction.  Simple heh?

The EA elements I am trying to use all exist as components in the Component and Deployment models - as components - and they all have vast depth of use in the rest of the repository.

Now ....

Are components classifiers or instances??????

(Actually I'm not too concerned about that.)


Now,  lets say I want to start modelling the tx flow at "User accepts payment terms by clicking on the submit button on the Buy Now page on the browser".  
This would generate a URI request to the payments web server relating to a specific script in the payments app server which would submit a credit validation message to the CCD gateway which, if credit is accepted, would send a n acceptance message back to the payment app which would then raise an order by sending a message to the back end comms tier which would create an order in the sales / warehousing system  which if succesful would return an order number back through the tiers to the app server which would then create a payment record against the order through the same tiered ..... blah blah blah  ....  which would finally send a confirmation email to the customer.   :-X

Now all these components have assembly links that currently describe the protocols and mechanics of sending messages between the two.

I want to add the messages ...  :'(

Seems I got to create associations between the components as that is the only way to add messages.

Is this correct?  i.e. doesn't UML like communications messages on assembly links

or

Is EA not doing it?



yours in misery

bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

thomaskilian

  • Guest
Re: Is it me, or is there something wrong with UML
« Reply #1 on: February 17, 2005, 02:55:19 am »
Bruce,
to my knowledge messages can only be passed between objects, not components. The latter only have interface relations. If you want to show the messages being passed between component you will have to use notes.  Not much help :-/

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Is it me, or is there something wrong with UML
« Reply #2 on: February 17, 2005, 02:01:25 pm »
Damn,  this would allow us to model the macro info flows for the web app very effedtively at an appropriate level.  

We dont care about the objects/classes in these components just that for example a URI request is sent from the browser to one web server, which invokes a (anonymous) J2EE script that redirects the request to another web server ..... etc

What I'll do is create associations between the components and attach the messages to them, which is poor because it means I have to manage two links for each component and keep them in synch manually.

bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

TrtnJohn

  • EA User
  • **
  • Posts: 176
  • Karma: +0/-0
    • View Profile
Re: Is it me, or is there something wrong with UML
« Reply #3 on: February 21, 2005, 12:05:21 pm »
Classes can be used to represent something other than objects that are created from a programming langauge.