[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] aspectj tutorial feedback

Hi Leonardo,
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
nice stuff.

You could also want to see, and comment if you think so, the beta
program for the java black belt exam on AspectJ :
http://www.javablackbelt.com/forum/posts/list/112.page and
http://www.javablackbelt.com/DocumentView.wwa?page=ExamAspectJ. There,
Andrew and I tried to summarize basic AspectJ concepts and organize them
in progressive steps.

Simone

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?
>>
>> Simone
>>
>> 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.
>>>
>>> Thanks,
>>> Leonardo Sá
>>> _______________________________________________
>>> aspectj-users mailing list
>>> aspectj-users@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>>
>>>       
>> --
>> Simone Gianni            CEO Semeru s.r.l.           Apache Committer
>> MALE human being programming a computer   http://www.simonegianni.it/
>>
>> _______________________________________________
>> aspectj-users mailing list
>> aspectj-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>>
>>     
>
>
>
>   


-- 
Simone Gianni            CEO Semeru s.r.l.           Apache Committer
MALE human being programming a computer   http://www.simonegianni.it/