R ep ro d u ced with p erm ission o f th e copyright ow ner. Further reproduction prohibited w ithout perm ission. 1*1 Library and Archives Canada Published Heritage Branch 395 Wellington Street Ottawa ON K1A 0N 4 C anada i * i Canada R ep ro d u ced with p erm ission o f th e copyright ow ner. Further reproduction prohibited w ithout perm ission. Abstract When new commercial software systems are developed, or existing ones are enhanced, non-functional features (such as logging and security) are typically added to the system as an after-thought. To meet market pressure, initial versions o f the system are deliber ately kept simple and primarily focused on functional requirements. In subsequent ver sions, non-functional features identified for system enhancement are added to it. The drawback o f such an approach is that it makes the initial simple version increasingly more complex, and thus more difficult to support and maintain. The aspect-oriented ap proach has been proposed to add such non-functional features (commonly referred as "ilities" in the field o f computer engineering) to software systems without polluting or af fecting the integrity o f the original code. In other words, non-functional features imple mented in the form o f aspects stand isolated without interfering with the simplicity, read ability and integrity o f the original system. This research brings together solutions to non functional requirements using patterns and refactoring to patterns in an aspect-oriented approach.The proposed solution has been tested by adding non-functional ilities to an existing RMI-based instant messaging system using patterns and aspect-oriented ap proach. The proposed solution is also tested to refactor an existing non-functional feature.The main proposal o f this research is that aspects are a vehicle for adding refactor ing/patterns to a system. Re-usable aspect libraries that are designed and implemented as part o f this research could be directly integrated into real world applications. ii R ep ro d u ced with p erm ission o f th e copyright ow ner. Further reproduction prohibited w ithout perm ission.