Book a Demo

Author Topic: Use of new Connector  (Read 6767 times)

Oliver Michalski

  • EA User
  • **
  • Posts: 116
  • Karma: +0/-0
    • View Profile
Use of new Connector
« on: September 05, 2005, 03:39:33 am »
Hi all,
I develop a UML profile for SOA.Some components of the Profile are ServiceProvider, ServiceConsumer,
Service(a Port), ServiceGateway(a Port) and ServiceChannel (a new Connector)

ServiceChannel should be used only between elements of Type Services or ServiceGateway

My question is whether I can limit the use of a connector ?

Any Suggestions

Thanks
Oliver  :)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8617
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Use of new Connector
« Reply #1 on: September 05, 2005, 04:02:22 am »
Quote
Hi all,
I develop a UML profile for SOA.Some components of the Profile are ServiceProvider, ServiceConsumer,
Service(a Port), ServiceGateway(a Port) and ServiceChannel (a new Connector)

ServiceChannel should be used only between elements of Type Services or ServiceGateway

My question is whether I can limit the use of a connector ?

Any Suggestions

Thanks
Oliver  :)
Oliver, your profile looks very interesting.  But to answer your question, no, not directly.  

I had also intended to apply some similar rules.  However, I would do it via a MS-Access connection to the database and find those that didn't fit the rules (via queries) and highlight them (by changing their adornments - such as colour and thickness).

HTH,
Paolo
« Last Edit: September 05, 2005, 04:02:51 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Oliver Michalski

  • EA User
  • **
  • Posts: 116
  • Karma: +0/-0
    • View Profile
Re: Use of new Connector
« Reply #2 on: September 05, 2005, 04:33:22 am »
Hi Paolo,

thanks  for the fast answer.  I will try it.

The profile has at present beta status.  After completion I will share the result with everybody interested person
;)

Oliver

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: Use of new Connector
« Reply #3 on: September 05, 2005, 05:01:34 pm »
It's possible to limit the use of a connector using an add-in.

There is EA_OnPreNewConnector that allows you to disallow creation. http://sparxsystems.com.au/EAUserGuide/index.html?broadcastprenewconnector.htm

There is also EA_OnPostNewConnector that allows you to modify a created connector.

Simon

Oliver Michalski

  • EA User
  • **
  • Posts: 116
  • Karma: +0/-0
    • View Profile
Re: Use of new Connector
« Reply #4 on: September 06, 2005, 01:33:12 am »
Hi Simon,

thanks  for the good reference

Oliver  :D

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8617
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Use of new Connector
« Reply #5 on: September 06, 2005, 05:40:27 am »
Oliver,

Don't forget that these methods are only part of the story. :(

You have established rules for what a connector may connect from and connect to.  These are, essentially, declarative - that is, they don't (or shouldn't) rely on any particular process.  Thus, as the connector and the end objects change, they may invalidate themselves.

A viable approach is to place the rules in a data structure and interrogate the rules whenever any of the component objects changes.  You can apply these rules at connector creation time as Simon says, but you'll also need to apply them at other times.  You need a consistent mechanism to apply the rules...

Consistency, Consistency, Consistency! TM ;D

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Oliver Michalski

  • EA User
  • **
  • Posts: 116
  • Karma: +0/-0
    • View Profile
Re: Use of new Connector
« Reply #6 on: September 06, 2005, 05:55:57 am »
Hi Paolo,

good objection

Thanks
Oliver  :)

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Use of new Connector
« Reply #7 on: September 06, 2005, 08:26:11 am »
A year ago I put in a Feature Request about model validation rules, but did not get a reply (or if I did and deleted it, it was "no plans for this").

jeshaw2

  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Use of new Connector
« Reply #8 on: September 06, 2005, 09:38:24 pm »
You might find this article helpful.

http://www.jot.fm/issues/issue_2004_11/column5

Cheers
Verbal Use Cases aren't worth the paper they are written upon.