Book a Demo

Author Topic: Modelling Software Services - HOWTO?  (Read 13784 times)

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Modelling Software Services - HOWTO?
« on: September 07, 2010, 11:22:35 am »
Hi team,

I'm floundering in the documentation a little, and struggling to model some required "services"...

To use a simple service as an example, I'm trying to show:

1. The Mainframe that the service is running on (Component? Node?)
2. The Port that the service listens to.
3. The acceptable input (in this case OrgUnitCode)
4. The possible returns: (valid|invalid) and if invalid an error message.

I'm looking at "Interfaces" in this tutorial: http://www.sparxsystems.com/resources/tutorial/component_model.html

But am struggling to achieve what is shown there... Can anyone point me to a step-by-step explanation, or provide the steps that are used to achieve that diagram example?


Andy
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Modelling Software Services - HOWTO?
« Reply #1 on: September 07, 2010, 03:16:32 pm »
Andy,

  • The Mainframe -> Component
  • The port -> Port (on the component)
  • The service: an operation on a provided interface that is exposed by the component through the port
  • Input/Return: parameters on the operation (special case of parameter is return)
  • Possible exceptions: this is usually done using tagged values on the operation that reference the exception classes.

Geert

beginner

  • Guest
Re: Modelling Software Services - HOWTO?
« Reply #2 on: September 07, 2010, 05:12:26 pm »
Look at http://www.cbdiforum.com/. They have a free and commercial MDG for modelling services. I used that some 2 years ago and liked it very much. A lot of refactoring is necessary however, as it's a complex area.

b.
« Last Edit: September 07, 2010, 05:14:21 pm by beginner »

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Modelling Software Services - HOWTO?
« Reply #3 on: September 09, 2010, 03:27:58 pm »
Thanks people,

I've reverse-engineered the code that is involved, and can see why this looks to be complex to model!!!

It remains to be seen if I can model it in a meaningful (and useful) way with a suitable level of abstraction...
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."