@Before annotation in AspectJ

In previous tutorials about introducing aspect oriented programming and compiling-time weaving with AspectJ, I introduced you all to the @Before annotation and @After annotation to insert the code before and after when our application call to a method of an object. They are the Advice. In… Read More

Compile-Time Weaving with AspectJ

In the previous tutorial Introduce about Aspect Oriented Programming, I introduced three ways to insert code using AspectJ: compile-time weaving, post-compile weaving, and load-time weaving. Compile-Time Weaving is the simplest and easiest way to insert the code that will occur when we compile the source… Read More