• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

AspectJ in Action: mindset Q

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

AOP looks to take a philosophical shift to coding.
Would you elaborate on the mindset or frame of reference needed to implement a meaningful AOP solution.

-Fred
 
Author
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That is a deep question :-) I answer a part of it in chapter 1 of the book (freely downloadable from http://manning.com/laddad2).

Fundamentally, with AOP you need to follow the Single Responsibility Principle (SRP) to its logical end. Classes only worry about their main responsibility, since aspect take care of crosscutting concerns that would have been otherwise fused with classes. With this style of thinking, aspects appear naturally in the design and implementation process.

-Ramnivas
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic