This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi guys, I need some general explaination on the AspectJ,Interceptor? As a beginner, i dont really understand or getting the idea of it. Could someone guide me on this with a simple understanding and example?
AspectJ is a Aspect Oriented Programming tool. You can write interceptors around your methods. To put it in a simpler terms, consider the following method in your class:
Now lets assume you want some code to be executed before/after this doSomeOp() is called. Aspect Oriented Programming allows you to do this. Here's one more article about this: AspectJ example [ June 04, 2007: Message edited by: Jaikiran Pai ]