[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspectj-users] aspectj tutorial feedback
- From: Simone Gianni <simoneg@xxxxxxxxxx>
- Date: Wed, 24 Sep 2008 22:16:25 +0200
- Delivered-to: firstname.lastname@example.org
- User-agent: Thunderbird 188.8.131.52 (X11/20070310)
in my opinion, thisJoinPoint and around advices (so also proceed()) are
the best power/simplicity compromise.
Around advices are relatively easy to explain : whenever you subclass
and override a method you are creating a kind of "around advice", when
you are calling super.method() you are basically calling proceed(). It
is not reality (don't flame on me), but its just to say that around
advice are relatively easy to understand cause are close to a concept
every java developer is used to.
thisJoinPoint is just an API, so no special AOP stuff to understand ...
but as a recent thread has demonstrated, using it properly can save a
lot of time and effort on many situations.
Combined together, even with basic pointcuts, it's enough to do a lot of
You could also want to see, and comment if you think so, the beta
program for the java black belt exam on AspectJ :
Andrew and I tried to summarize basic AspectJ concepts and organize them
in progressive steps.
Leonardo Sá wrote:
> I would like to. Do you have any suggestions? I was thinking about
> going a little bit more in depth on pointcuts...
> On Wed, Sep 24, 2008 at 2:54 AM, Simone Gianni <simoneg@xxxxxxxxxx> wrote:
>> Hi Leonardo,
>> it sounds good, nice job. I also feel AspectJ needs more tutorials like
>> this : less technical and more intuitive. While the official
>> documentation is complete and also quite simple to understand, it is
>> what it is : official documentation, not a practical, friendly tutorial,
>> like yours.
>> Do you think you will expand on it with new trails covering more
>> features in the future?
>> Leonardo Sá wrote:
>>> When i first started learning aspectj, i found out that the learning
>>> curve was a litthe rough for programmers like me that didn't have any
>>> previous aop experience. That led me to write a small tutorial on
>>> AspectJ on my blog: http://www.leo-sa.com/?p=3
>>> I would like some feedback from the community on how to improve that
>>> article further to make it easier for new programmers to get into the
>>> aspectj world as easily as possible.
>>> Leonardo Sá
>>> aspectj-users mailing list
>> Simone Gianni CEO Semeru s.r.l. Apache Committer
>> MALE human being programming a computer http://www.simonegianni.it/
>> aspectj-users mailing list
Simone Gianni CEO Semeru s.r.l. Apache Committer
MALE human being programming a computer http://www.simonegianni.it/