Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Originally posted by Nilesh Pereira:
<snip> but I'm curious to know if there are any real world projects out there already using AOP. If so, I'd be interested to know about the challenges that were faced, and the success that were had using AOP. Thanks!
Originally posted by Nilesh Pereira:
[Snipped]
I've read that the EJB component model could be considered to be Aspect Oriented? Declaring Transactionality, Security, etc. of an EJB is equivalent to defining an Aspect, even though it does it declaritively and without using any special language constructs. The EJB compiler adds the required EJB functionality to the classes, much like an Aspect compiler would add any Aspects.
Any thoughts on that?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
IMHO, AspectJ is a somewhat "dangerous" implementation of AOP - as aspects are woven into the code by pattern matching of class- and method names, you can change the behaviour of a method by changing its name!I really dislike this idea...[snipped]
Originally posted by Nilesh Pereira:
[snipped..]
The reason I'm asking these questions about AOP is because I'm still trying to figure out if learning AOP in detail is worth my time.
I think a major challenge for me would be in figuring out how I would incorporate AOP in my designs. Right now, I can only find information on how to code using AOP.
Also, wouldn't using AOP make debugging really really difficult?
Originally posted by Ilja Preuss:
[ snipped.. ]
Regarding AOP in general, I think it is an interesting concept, but we probably need to wait some more years to see what usage patterns prove to be usefull.
[snipped .. ]
use the [CODE] tags - it makes it much easier for people to help you.
Don't get me started about those stupid light bulbs. |