Øredev 2008 - Java - Solving Domain Problems with Aspects
Uploaded on Jan 13, 2009 / 431 views / 1547 impressions / 0 comments
Description
Solving Domain Problems with Aspects
Aslam Khan, factor10, South Africa
Aspect Oriented Programming (AOP) is a notoriously difficult topic which many do not grasp at the first attempt, or even after several attempts. Although AOP has its roots...
Solving Domain Problems with Aspects
Aslam Khan, factor10, South Africa
Aspect Oriented Programming (AOP) is a notoriously difficult topic which many do not grasp at the first attempt, or even after several attempts. Although AOP has its roots in fundamental object oriented patterns, part of the problem with the complexity in AOP is the terminology and language used. Another contributor is the examples of problems that are typically solved using Aspects. Commonly, aspects are used to solve difficult infrastructure problems within applications, such as caching, transaction management, authentication and authorization of objects, lazy loading, amongst others.
Comparatively, the use of aspects to solve domain specific problems is less frequent. It is certainly not a first choice technique because it is poorly understood and carries the perception of introducing complexity. However, by focusing on the simplicity of the patterns upon which AOP is founded, many domain specific problems can be solved elegantly and simply.
In this seminar, we will cover the following:?The basic set of object oriented patterns upon which AOP is founded?Thinking about aspects without being tied up with AOP terminology as a transitioning technique to moving to AOP?Examples of real world domain problems where aspects were used to solve the problems?From these examples, patterns are extracted which can be used as targets for AOP solutions?If code examples are needed, Java and the Spring Framework will be used, but the patterns and material covered will be applicable in other languages and frameworks.