May be this article will give you an information about AOP vs. Interceptors discussion:

http://www.neward.net/ted/weblog/index.jsp?date=20030107



On 20/05/05, belaran <[EMAIL PROTECTED]> wrote:
Hi everyone !

First of all i want to apologize for the rather long post...

I'm working on HiveMind and i try to figure out the possibilities of
the framework. I've been playing with most of its features and i get
the point for most of them. However, i've two question :

1) When HiveMind call your SymbolSource it's just call the method
'valueForSymbol(String symbol)' then the user has to code it's own
implementation to return he actual Symbol value. It's quite simple but
i find quite limited in someway:
            a) If you have many symbols ( like dozen), your
implementation will look like this :

if ( )
else if
else if
else...

Of course you can do this differently but this "single point" of
access, you'll always end up with something like this.

             b) If i had to "implement" this system i would have done this :

List valueForSymbol()

However i'm no architect or a renown designer ! So I believe I miss
something : May be you can give use case we're this implementation
comes handy or simply use case that's prove my assumptions false ?

2) Interception provides somes great functionnality and seems to offer
a very good subsitiute to AOP. My question is simply what AOP, which I
don't really know, offers that HiveMind's interception has not...

Thanks a lot,

Belaran

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Best regards,
Renat Zubairov

Reply via email to