----- Original Message ----- From: "Wouter Zoons" <[EMAIL PROTECTED]>
To: "'Christian Seiler'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, November 10, 2004 7:11 AM
Subject: RE: [Andromda-user] BPM4Struts Questions: Redirect After Post,
Platform Independance



1. Is there a way to model an action as redirect? The reason for this
is obvious and once again discussed widely at TSS
http://www.theserverside.com/news/thread.tss?thread_id=29758

[WZ> ] no, but I guess we could add a tagged value for that


2. It seems to me (though still an Andromd newbie) that many of the
@andromda.struts.* tagged values are not related directly to
Struts and could be shared with cartridges, which generate code
for other web frameworks (at least those of them which do not
mask the request/response scheme of the web). So they could have
a more generic name and make the model a little bit more independant
from Struts.

[WZ> ] no they are definitely struts related, and they are named that way on purpose, it's not a good idea to over-generalize and over-abstract, in the long run you'll run into troubles (look at EJB-QL)

Other framework-cartridges such as Tapestry and WebWork will have to
define
their own set of tagged values and you will simply have to model them
twice

You have to know that tagged values are not really considered part of the
UML model, they are annotations to overwrite defaults. Code generation
should always be possible without a single tagged value (except in those
cases where a tagged value is used to by-pass a shortcoming of the UML
tool
you're using)

Bottom line, it's too hard to decide whether or not a tagged value is
platform-specific or not .. because suppose now we have 3 frameworks with
feature X, if tomorrow we have framework #4 that does not support that
feature, what ar eyou gonna do with that 'generic' tagged value ?

Ideas ?
-- Wouter

I think there are some tags that could be generically named and the others that could be specifically named, we did that with the persistence tags. And if the cartridge didn't support that generic tag, you'd just note that in the docs (the docs discuss what tagged values and stereotypes each cartridge uses).

Chad




------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user



------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to