From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID, T_FILL_THIS_FORM_SHORT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,ab3a570d8b1d6a7f X-Google-Attributes: gid103376,public From: Roland Petrasch Subject: Re: UML to Ada mapping Date: 1999/01/14 Message-ID: <369D2FA6.535EC87D@fhtw-berlin.de>#1/1 X-Deja-AN: 432330977 Content-Transfer-Encoding: 8bit References: <36993EA5.F5A29C5F@filnet.fr> To: Lionel Draghi Content-Type: text/plain; charset=iso-8859-1 X-Trace: fu-berlin.de 916271072 3049 (none) 141.45.243.103 Organization: Fachhochschule f�r Technik und Wirtschaft Berlin X-Access: 16 1296 1297 Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-01-14T00:00:00+00:00 List-Id: Dear Lionel Draghi, as far as I know, there is no ADA-generating UML-Tool. It seems to be impossible to fully generate code from an UML-specification (UML has some serious deficits and inconsistencies - this was discussed on the conference CONQUEST 98 in N�rnberg, Germany). UML-tools are able to generate class-frames with some additional informations (e.g. associations to other classes are considered, but it is still the responsibility of the software engineer to make the design decisions, i.e. vector, tree, array, liked list or other container to implement for instance an aggregation). From my point of view you need a lot more formal information to generate code (C++, Java, ADA or whatever), because UML has serveral defiencies. The following parts of the UML are helpful for code generation: - packages, classes and class-diagram: classes, methods/procs and member variables can be created. The modules exists in packages with their namespace. - State transition diagrams: They can be used to implement FSMs in conjunction with or inside a class. - Active objects: These stereotyped classes represent processes or threads (also useful for code generation) - Deployment diagram: Not for code generation but for design decisions Sequence and collaboration diagrams are on the object level and can be used only indirect for the system behavior. Similiar are the activity diagrams: The notation is so flexible that you can do almost everything (and maybe better nothing) with it. Round-trip-engineering is difficult: Once the UML-tools have generated the code, you are allowed to put your additional code (algorithms and other stuff) only on special areas (which is sometimes an unacceptable restriction). UML needs more time to get rid of its problems. On my opinion, UML first has to become a _real_ standard, so after 1 or 2 years we will see the first experience with UML, UML-tools and Ada. Your questions are interesting and I hope I could contribute to the discussion (despite my English mistakes). Best regards Roland Petrasch ----------------------------------------------------------- Roland Petrasch Fachhochschule f�r Technik und Wirtschaft Berlin Fachbereich 4, Studiengang Wirtschaftsinformatik Verwaltungsgeb�ude Raum VG 825 Treskowallee 8 10318 Berlin Telefon: (030) 5019-2260 / 2328 (Sekretariat FB 4) Fax: (030) 5019-2462 Email: petrasch@fhtw-berlin.de oder petrasch@acm.org WWW: http://www.f4.fhtw-berlin.de/people/petrasch/ privat: (030) 891 72 04 (Kurf�rstendamm 142, 10709 Berlin, Germany) Funk: 0177 321 21 58