By jsugrue
via java.dzone.com
Published: Jul 24 2008 / 16:25
Yesterday I was having a meeting about a new project startup. At some level the meeting was stuck on an argument of logging. Well I suggested the same thing as any experienced developer would suggest... "Why don't we use the Aspects?".Our project is running on Websphere Application Server and using JDK 1.4 which means we won't be using EJB3 or annotations. So I just tried AspectJ - although I found the examples were confusing, what I achieved was very simple and easy. Here is a basic tutorial on how to enable and using Aspects
Tweet
SaveShareSend
Tags: frameworks, how-to, java, methodology
Comments
alruiz15 replied ago:
I like AOP and AspectJ, but introducing them into a project needs to be considered carefully (IMHO.) Debugging "AOP magic" can be a nightmare for team members other than the aspect author. Also, without AJDT, it is difficult to realize which aspects are being applied into the code base.
Voters For This Link (17)
Voters Against This Link (6)