-
Recent Posts
- Poor Man’s LastFM History Downloader
- Aspect Oriented Programming Notes #4 – Proxy Mechanism
- Aspect Oriented Programming Notes #3 – Some Additional Info
- Aspect Oriented Programming Notes #2: Setting Up AOP Dependencies and Declaring Aspects, Advices, Pointcuts
- Aspect Oriented Programming Notes #1: The Concepts
Categories
- Days (4)
- Projects (6)
- Uncategorized (1)
- Works (17)
- Algorithm Analysis (3)
- General Concepts (4)
- Links (5)
- Software Architecture (2)
- Spring Framework (5)
Archives
- August 2021 (1)
- September 2020 (6)
- August 2020 (3)
- May 2020 (3)
- April 2020 (1)
- March 2020 (1)
- February 2020 (3)
- December 2019 (1)
- November 2019 (1)
- October 2019 (1)
- September 2019 (1)
- August 2019 (3)
Category Archives: Spring Framework
Aspect Oriented Programming Notes #4 – Proxy Mechanism
In a pure object-oriented sense we are calling a method of an object (Target object). That method has some code which is already in it. Aspect code has to run whenever we call this target method. How is it possible … Continue reading
Posted in Spring Framework, Works
Tagged Aspect Oriented Programming, Dynamic Proxy, Spring Framework
Leave a comment
Aspect Oriented Programming Notes #3 – Some Additional Info
Reuse Aspect Pointcut Definitions @Pointcut annotation is used for defining a pointcut independently to be reused in multiple advices. Generally, if our pointcuts are shared between multiple aspects, it is better to centralize them in a common class. In this … Continue reading
Aspect Oriented Programming Notes #2: Setting Up AOP Dependencies and Declaring Aspects, Advices, Pointcuts
An aspect is a Java class that modularizes a set of concerns (e.g., logging or transaction management) that cuts across multiple types and objects. Java classes that modularize such concerns are decorated with the @Aspect annotation. In AOP terminology, aspects … Continue reading
Posted in Spring Framework, Works
Tagged @After, @AfterReturning, @AfterThrowing, @Around, @Before, Advice, Aspect Oriented Programming, Join Points, Pointcuts, Spring Framework
Leave a comment
Aspect Oriented Programming Notes #1: The Concepts
Not just a feature that Spring provides, it’s a model of programming itself. (It’s functional programming) When you writing in such languages you think of a problem and then you break it down into different functions. Each function accomplishes a … Continue reading
A Naive Example of Dependency Injection
–> It’s a way in which you decouple the conventional dependency relationships between objects. Say we have two objects that are related to each other, one is dependent on the other. The idea is decouple this dependency. So that they’re … Continue reading