-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all,
refactoring should only be seen as a validation case... In the case of the "pull up method" refactoring for example, our transformer will generate JMI calls to e.g. the UML metamodel which remove the method from a class, and add it to its superclass (Note that a model is transformed by calls to its metamodel) But the transformer isn't restricted to just transforming UML models. In fact, any MOF instance will do as a metamodel. So adding a method for special session beans, as you describe, is done analogously to the refactoring described above... Only, instead of calls to the UML metamodel, calls to the PIM metamodel will be generated (which might of course be UML), to add the method... Information about the metamodel to which calls should be generated, is provided through class names and association names in the transformation specification, for which the UML profile is currently being developed... The restriction Pieter was referring to, is that, in the first version, it will not be possible to transform an instance of a certain metamodel to an instance of a different metamodel... But as I see it, in the context of AndroMDA, PIM and PSM metamodels will probably both be UML, so even the first version would already be useful... Cheers, Hans Schippers On Saturday 15 November 2003 15:25, Matthias Bohlen wrote: > Hi Pieter and the others, > > are you sure that we mean the same thing? I was talking about model > transformations (from PIM to PSM and within the PSM), something that has > little to do with refactoring. Example: > > Somebody wants to have special session beans generated that always have > one additional method. Today, he has to copy the template for session > beans and add the method - something that causes a maintainability > problem. In the future, there should be a model transformation that adds > a method to the PSM class so that the same session bean template can be > re-used. > > Is this the same (or part of) what you are doing? > > Cheers... > Matthias > > P.S.: Doroszlai Attila [EMAIL PROTECTED] in Hungary also works on > refactoring. We should coordinate all these efforts - I'm afraid, we're > losing focus! > > > -----Original Message----- > > From: Pieter Van Gorp [mailto:[EMAIL PROTECTED] > > Sent: Saturday, November 15, 2003 3:14 PM > > To: Matthias Bohlen > > Cc: 'Miguel Angelo Caldas Gallindo'; 'Anthony Mowers'; > > [EMAIL PROTECTED] > > Subject: Re: [Andromda-devel] Info for new developers > > > > > > Hi Matthias, > > > > >Do you know the OMG material about the QVT proposal in MDA? For > > >AndroMDA 3.x, I'd like to have a brand new feature called model > > >transformations. The idea is to transform a PIM automatically into a > > >PSM and then start the template engine. At the moment, we start the > > >template engine right away on the PIM which causes a problem > > > > when you > > > > >want to re-use the same template code for different purposes. > > > > > >Maybe, you could make model transformations work? Please > > > > read the OMG > > > > >material, starting at one of my old emails on the > > > > andromda-devel list: > > >http://www.mail-archive.com/[EMAIL PROTECTED] > > > > net/msg003 > > > > >6 > > >9.html > > > > We are already working on this at the University of Antwerp. > > If Miguel > > likes to work on QVT based transfo's using AndroMDA, we should > > synchronize to avoid doing the same in parallel. > > > > For short, our first release (june 2004) will support visual model to > > model transformations within the same metamodel. This will turn > > AndroMDA into a code generator for visual refactoring > > specifications. > > We are currently defining a profile based on UML statecharts and UML > > activity diagrams for the well-established "story driven modeling" > > notation. This project is based upon a proof-of-concept > > implementation > > in the Fujaba UML tool > > (http://win-www.ruca.ua.ac.be/u/lore/refactoringProject/public > > ations/Implementing_Refactorings_as_Graph_Rewrite_Rules_on_a_P > > latform_Independent_Metamodel.pdf). > > The innovating features from our current project are > > 1. Any XMI compliant UML tool can be used to draw the > > transformations (note that a small GUI plugin is advisable to enhance > > readability of the diagrams, the icon mechanism of UML stereotypes > > already improves readability a lot and doesn't require any > > coding in the > > UML tool) > > 2. The generated transformation code will be JMI compliant > > 3. Support for other repositories (e.g. Eclipse EMF) can > > be added by > > providing a new set of AndoMDA code generation templates > > 4. Support for transformations across different metamodels. This > > will turn AndroMDA into a code generator for visual model to model > > refinements. > > > > Note that we are not blindly redoing the SDM language: we are > > certainly > > also looking at all the QVT submissions! However, I must say > > that these > > submissions represent very early work... On the UML conference last > > month, I talked to people from DSTC. They also realized that the > > different vendors had such different views (e.g. on the need for > > round-tripping or not) that waiting for the release of the > > QVT spec is > > like waiting for UML 2 has been... Therefore, our academic freedom > > should enable us to reconcile SDM with the various QVT > > submissions much > > sooner than the OMG committee. Jean Bezivin and Jean-Marc > > Jezequel are > > two other researchers from France, working in the same direction. We > > synchronized last month and will work together on this topic in the > > future. Perhaps, we will organize a workshop on it in a year or so. > > > > Anyway, once our profile for model transformation is defined, we will > > develop an AndroMDA cartridge for the MDR, along with some sample UML > > refactorings. If anybody likes to join our project or learn > > more about > > it, feel free to ask for additional info. Hans Schippers > > (mail: see CC) > > is writing his master thesis on the first version of the model > > transformer (intra-metamodel, JMI compliant). > > > > Best regards, > > Pieter Van Gorp > > PhD research on Model Driven Refactoring http://www.pietervangorp.com/ > > > > PS: Matthias, I'd like to thank you once again for your > > feedback on the > > paper mentioned above. As you can see in the last version, I have > > integrated your ideas on a "refactoring reasoning engine". I have > > called it "refinement repository". > > > > Matthias Bohlen wrote: > > >Hi Miguel (and other possible new developers), > > > > > >Tony forwarded me your message of Wednesday - sorry that I could not > > >answer it yet. > > > > > >Maybe, the best way for you to start is the following: > > >* Subscribe to the developer list at > > >http://lists.sourceforge.net/lists/listinfo/andromda-devel and > > >introduce yourself with a short message to the other developers. > > >* Read the AndroMDA 3.x vision document at > > >http://www.andromda.org/developerdocs/AndroMDA_30_TNG.pdf > > >* Read the archives of andromda-devel of the past 2-3 months. > > >* Check out AndroMDA 3.x from CVS HEAD and try to build it. > > >* Run the generated sample app (car rental system) with its > > > > *.ear file > > > > >for JBoss. > > >* Get Poseidon Community Edition (see www.gentleware.com), > > > > model your > > > > >own 2 or 3 classes and try to get them working in JBoss. > > >* Ask questions on andromda-devel. > > > > > >Do you know the OMG material about the QVT proposal in MDA? For > > >AndroMDA 3.x, I'd like to have a brand new feature called model > > >transformations. The idea is to transform a PIM automatically into a > > >PSM and then start the template engine. At the moment, we start the > > >template engine right away on the PIM which causes a problem > > > > when you > > > > >want to re-use the same template code for different purposes. > > > > > >Maybe, you could make model transformations work? Please > > > > read the OMG > > > > >material, starting at one of my old emails on the > > > > andromda-devel list: > > >http://www.mail-archive.com/[EMAIL PROTECTED] > > > > net/msg003 > > > > >6 > > >9.html > > > > > >Decide for yourself what you are able to do and come back to > > > > the devel > > > > >list with your thoughts and ideas. Thanks for willing to contribute! > > > > > >Cheers... > > >Matthias > > > > > >P.S.: Tony, do you have the sandbox ready so that new > > > > developers could > > > > >start playing there? > > > > > >--- > > > > > >Matthias Bohlen > > >"Consulting that helps project teams to succeed..." > > >http://www.mbohlen.de/ > > > > > >>-----Original Message----- > > >>From: Miguel Angelo Caldas Gallindo > > >>[mailto:[EMAIL PROTECTED] > > >>Sent: Friday, November 14, 2003 2:27 PM > > >>To: [EMAIL PROTECTED] > > >>Subject: I would like to work on project ADROMDA > > >> > > >> > > >>Matthias Bohlen, > > >> > > >> > > >> > > >>My name is Miguel �ngelo and I would like to work on > > > > project ADROMDA. > > > > >>I'm very interested abou MDA and I worked on a MDA tool, built with > > >>velocity, similar to ANDROMDA. I'd like to contribute with > > > > the project > > > > >>because I found it quite interesting, and I do not want to > > >>reinvent the wheel, but to help on a solid tool such as yours. > > >> > > >>Best Regards, > > >> > > >>Miguel �ngelo - user id : 898936 > > > > > >------------------------------------------------------- > > >This SF. Net email is sponsored by: GoToMyPC > > >GoToMyPC is the fast, easy and secure way to access your > > > > computer from > > > > >any Web browser or wireless device. Click here to Try it Free! > > >https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target___ > > __________ > > >__________________________________ > >Andromda-devel mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/andromda-devel > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl > _______________________________________________ > Andromda-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/andromda-devel - -- Ark Linux - Linux for the Masses (http://arklinux.org) Capitalism: You don't have any cows. The bank will not lend you money to buy cows, because you don't have any cows to put up as collateral. Representative Democracy: You have two cows. Your neighbors pick someone to tell you who gets the milk. In a world without walls and fences, who needs windows and gates? Hans Schippers 2LIC INF UA 2003-2004 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/tj9vXlnUYIbmLOQRAgAbAKCNB4MzRH2VxfzbXJtexZMT+6lFFQCghO5F T2toOBpXkb+bJLTDviVN0Cg= =HHTb -----END PGP SIGNATURE----- ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
