Re: [aspectwerkz-user] AOP advice execution sequence

"Alexandre Vasseur" <[email protected]> Wed, 21 Nov 2007 22:20:01 +0100
Newsgroups gmane.comp.java.aspectwerkz.user
Message-ID <[email protected]>
yes you can code for that, but the AOP framework won't create any thread fo=
r you
those papers are about use case, and not about framework features


On 11/21/07, akhilesh laddha <[email protected]> wrote:
>
> Alex,
> I have some doubt.  Because, attached document section 5, 6 and 7 describ=
es
> that AOP advice run in parallel with the application code.
>
> In this url
> http://www.sdtimes.com/editorial/opinion-20020101-01.html
> article explain in the same line.
>
> Still, my understanding is not clarified, because your reply defer from t=
he
> article.
>
> Is that all Java AOP framework inherently not support parallel execution =
of
> advice with the application code?
>
> Please let me know.
>
> Thanks
> Akhilesh
> Alexandre Vasseur <[email protected]> wrote:
> no it runs in the same code path - as if you wrote it
> this said it is easy to have your advice produce an async task that
> will be consumed by some thread queue if you want
> it is all up to you
> Alex
>
> On Nov 20, 2007 6:00 PM, akhilesh laddha wrote:
> >
> > Hi All,
> > I would like to get clarify my self about AOP advice execution sequence
> > along with the application code. Does AOP advice execute in parallel wi=
th
> > application methods for that cross cut defines?
> >
> > For example
> > Application method - foo() (for cross cut define)
> > Takes execution time T1
> > Advice =96 fooAdvice() takes t1 time
> >
> > If AOP advice runs sequentially with application code then additional
> > performance hit because of advice code execution.
> >
> > Total time will be =96 T1 +t1
> >
> > From my understanding it runs in parallel therefore it takes time equal=
 to
> > whichever is higher for ex =96 T1
> >
> > Please correct my understanding
> >
> > Thanks
> > Akhilesh
> >
> >
> >
> > ________________________________
> > Be a better sports nut! Let your teams follow you with Yahoo Mobile. Tr=
y
> it
> > now.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
>
>
> ________________________________
> Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try =
it
> now.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email