Originally posted by Pradeep Bhat:
Who said this ? Doesn't OOP work without AOP ? It works.
AOP complements OOP.
[ November 19, 2004: Message edited by: Pradeep Bhat ]
It seems that the interest in AOP is not high enough here
Originally posted by Marlene Miller:
I think Valentin is interested in AOP.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Originally posted by Lasse Koskela:
Interested? In love, I'd say.
Originally posted by Madhav Lakkapragada:
AOP huh?
Anyone care to expand that for me, please.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Ah. A communication problem. I meant that Val is in love with AOP, not me. Well, I might be but I haven't really used it beyond trying out a couple of exercises and reading a bit about it.Originally posted by Ali Pope:
Have you used it on real project till now? If not why? If yes again why?
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Interested? In love, I'd say.
Originally posted by Lasse Koskela:
(PS. I can't believe you wrote 2 posts while I was googling for a good link to go with "aspect oriented programming"... And I didn't even find one...)
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Originally posted by Ali Pope:
Unfortunately I cannot remember this, but I really believe it .
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 Ali Pope:
Have you checked this: link?
What do you think?
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 Jeanne Boyarsky:
We've looked into AOP, but we haven't found any practical applications (besides logging.)
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
Well, a "very long/complex/repetitive fixture" is a code smell, telling you that your design wants to be refactored to be easier to test.
Well, a "very long/complex/repetitive fixture" is a code smell, telling you that your design wants to be refactored to be easier to test.
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Originally posted by Ali Pope:
I would say that in maybe 99% this is true, but the case I was investigating is exactly the rest of 1%. I know that there are points where I could reduce the complexity, but finally the idea will remain. I have also evaluated at that point the mocking perpective which helped me a lot to refactor but still... believe me I am right on that .
Gerald I wouldn't jump so far. If you would follow mailing list of the AspectJ and/or AspectWerkz you would see that there a lots of real products already taking advantage from AOP.
./pope
Originally posted by Ali Pope:
I was very short for the 1st example . It is not a static test, but rather something that will catch bad usages of Swing threading and assures everything is run in the correct thread. As you may know quite a few drawing methods are thread safe, and this aspect is based on this idea. It will go for any other paint/draw/redraw method and check if it is run on the good thread, otherwise it will run the job using the SwingUtilities.invokeLater(). In order to conclude, it is not a checker, but a runtime aspect.
As regards the 2nd, you will not be able to refactor as those (coding) constraints are imposed by Hibernate .
./pope
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
and POOF! You're gone! But look, this tiny ad is still here:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|