Introduction to Aspect Oriented Programming & AspectJ. 2007
03 Dec 2007 @ 13:30
sala seminari, DISCO, viale sarca, 336 - 20126 Milano
There are concepts that badly fit the classic object-oriented decomposition. Concerns such as logging, authentication, synchronization are independently modeled but they crosscut many other concerns and their implementation tangles the code implementing these concerns hampering their reuse, testability and so on. Aspect-oriented techniques are widely used to better modularize object-oriented programs by introducing crosscutting concerns in a safe and non-invasive way, i.e., aspect-oriented mechanisms better address the modularization of functionality that orthogonally crosscuts the implementation of the application. In this seminar we will show how aspect-oriented programming and in particular AspectJ, the leading aspect-oriented programming language, can be used to face the crosscutting problem and disentangling the concerns implementation.