• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AspectJ in Action: greenhorn gotcha's

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

When first attempting to implement a solution using AOP (AspectJ), what common errors/mistakes have you found that "greenhorns" make?

In your opinion, why did they make those mistakes?

-Fred
 
Author
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A common mistake I see is failing to write good pointcuts. The reason is not investing time in learning AOP concepts and especially the join point model. The remedy, fortunately, is easy -- spend a day or two learning AOP. In a sense, this is no different than OOP: unless one has a firm grasp of the core OOP concepts, he is likely to produce code that is no better (and perhaps worse) than, say, procedural code.
 
reply
    Bookmark Topic Watch Topic
  • New Topic