> -----Original Message-----
> From: Matthias Bohlen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 31, 2003 4:30 AM
> To: [EMAIL PROTECTED]; 'andromda-user'
> Subject: RE: [Andromda-user] AndroMDA+Hibernate: PK and associations
> 
> 
> What do the other users think about automatic cascades?

I like this idea of understanding the aggregation versus composition notation
and generating cascades accordingly.  But I think this is going to be a
nightmare to support on the list and raise the bar quite high for new users,
who may not be such keen modelers.  (Admittedly, I've learned a point or two
about UML while learning how to satisfy AndroMDA... :)

Therefore, I would like to suggest that the user can set an "expert level"
(aka "lint" for all the geezers like me out there ;) whereby pedantic
features like this can be explicitly enabled.  In other words, the default
delivery of AndroMDA out of the box is in a "failsafe" mode, but turning on
the expert mode will set a global flag that is up to the different cartridges
to act upon... and make your code that much better if you are modelling
correctly.

Turning it on might break a bunch of stuff for a user as they become brave,
but that's the exciting part!

It would also be very interesting to do performance benchmarks between a
"lint on" and "lint off" build after there are significant differences in the
cartridges based on this setting.

Downsides would be a twice the code permutations to test.  Maybe it's not
worth it.

just a thought...

-b


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to