Hello,

I know that the NetBeans MDR can generate the xmi file directly into the 
memory. That fine. Now I want to do some crazy stuff.

So first it should be possible to access these memory model directly from an 
MDA tool. So does somebody know which model Magic Draw uses. The Team Server 
should work like this.

Now when I have my model in the memory. It should be possible to instanciate on 
the fly java classes from the model that I need.

Example:

I have a Model with the Entity Garden. Normal way would be: load model into 
memory -> generate Garden.java -> compile Garden.java -> load Garden.class into 
memory -> instanciate new Garden



I would do something like load model instanciate -> instanciate Garden.



The next step would be if you add a attribute to your model. The server should 
automaticly add this attribute to every Object of this Class.



Normally everything could be done by bytecode manipulation. So it translates 
xmi directly to Jasmine or even better it translates a MOF directly to Jasmin.



In an Script language you could just generate the class code and then evaluate 
it on run time.



The question is if that is possible or if somebody tried this before.



Greetings

    Manuel
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1479#1479
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to