2005-04-04

My thesis

I am working on the first stage. Getting some knowledge about MDA, Octopus and OCL, a good complementary of UML. I have known AOP, but based on Spring implementation. My thesis needs some implementation with AspectJ. In Spring there is no "particular complier" for aspects, since it uses Proxy mechanism. For AspectJ, after coding aspects, all java files and aspects must be compiled again by a "aspectJ complier". And some good Eclipse Plugins are available. I picked the most famous one "AJDT". It took me a lot of time to let them work properly. Why? the installation is easy, but after I create an Aspect project, when I coding, no matter .aj or .java file, the auto-complete functionality has gone. I have to exactly remember the fields and methods of each object. :( Finally I download a milestone version, and it works. (at the beginning the version I downloaded is release version) However, it only works on java file, in aspect, there is no auto-complete as well.

Now I am implementing a AOP based Undo/ Redo framework, some related design patterns were used ( mainly Memento, Marker interface and Command). Collection clone is a problem. I plan to solve it using Memento pattern. Which means I will store a lot of (maybe not too much) objects' copy in memory. I don't know if this overhead is significant. But I have not thought out other solution on that yet.

The implementation is supposed to be finished in 3 days.

No comments:

Post a Comment