---
title: "#spring-aop articles | Hashnode"
description: "Explore 38 articles tagged #spring-aop on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/spring-aop"
---

Tag

# #spring-aop

38 posts · 2 followers

[araf injazat](https://hashnode.com/@arafinjazat) · [Oct 30, 2025](https://hashnode.com/posts/discover-spring-aop-logging-practical-examples-and-use-cases-explained/6902fb899fdb67f466b7a86e)

### [Discover Spring AOP: Logging, Practical Examples, and Use Cases Explained](https://javatech.hashnode.dev/discover-spring-aop-logging-practical-examples-and-use-cases-explained?utm_source=hashnode&utm_medium=feed)

“Learn how to implement logging using Spring AOP with step-by-step examples. Explore real-world use cases, pitfalls, and best practices for production-ready

3 min read · [javatech.hashnode.dev](https://javatech.hashnode.dev/discover-spring-aop-logging-practical-examples-and-use-cases-explained?utm_source=hashnode&utm_medium=feed)

[Soyulia](https://hashnode.com/@soyulia) · [Mar 22, 2025](https://hashnode.com/posts/spring-aop/67bb0059a32bb0c1721c2a41)

### [\[ Spring \] AOP](https://soyulia.hashnode.dev/spring-aop?utm_source=hashnode&utm_medium=feed)

목표 : Spring에서 AOP(Aspect Oriented Programming)가 필요한 이유, 이를 활용한 실제 애플리케이션 개발 사례 1️⃣ 애플리케이션 로직 애플리케이션 로직은 핵심 기능과 부가 기능으로 나뉘어져있다. 핵심 기능 : 고유기능 (ex) 주문 로직 부가 기능 : 보조기능, 단독으로 사용되지 않고 핵심기능과 같이 쓰인다. (ex) 로그 추적 기능 (어떤 핵심 기능이 호출됐는지 로그를 남기기 위해 사용) 만약 , 같...

3 min read · [soyulia.hashnode.dev](https://soyulia.hashnode.dev/spring-aop?utm_source=hashnode&utm_medium=feed)

[Shivam Kumar](https://hashnode.com/@ShivamMishra828) · [Mar 21, 2025](https://hashnode.com/posts/creating-custom-annotations-in-spring-boot-a-step-by-step-guide/67dceef87fe856939c00a6b5)

### [Creating Custom Annotations in Spring Boot: A Step-by-Step Guide](https://shivammishra828.hashnode.dev/creating-custom-annotations-in-spring-boot-a-step-by-step-guide?utm_source=hashnode&utm_medium=feed)

Streamline Cross-Cutting Concerns and Elevate Your Code Efficiency with Custom Annotations and AOP in Spring Boot.

4 min read · [shivammishra828.hashnode.dev](https://shivammishra828.hashnode.dev/creating-custom-annotations-in-spring-boot-a-step-by-step-guide?utm_source=hashnode&utm_medium=feed)

[Gaurav J Somani](https://hashnode.com/@Gaurav750) · [Feb 8, 2025](https://hashnode.com/posts/aspect-oriented-programming/67a76c66fcb3ce27c53c22ef)

### [Aspect Oriented Programming](https://gaurav750.hashnode.dev/aspect-oriented-programming?utm_source=hashnode&utm_medium=feed)

How AOP Simplifies Cross-Cutting Concerns in Spring Boot

5 min read · [gaurav750.hashnode.dev](https://gaurav750.hashnode.dev/aspect-oriented-programming?utm_source=hashnode&utm_medium=feed)

[hoangkim](https://hashnode.com/@hoangkim) · [Jan 30, 2025](https://hashnode.com/posts/bai-15-tong-ket-best-practices-va-pitfalls-trong-spring-aop/679bb8a3049a5af880e03d19)

### [Bài 15: Tổng kết, Best Practices và Pitfalls trong Spring AOP](https://hoangkim.hashnode.dev/bai-15-tong-ket-best-practices-va-pitfalls-trong-spring-aop?utm_source=hashnode&utm_medium=feed)

Mục tiêu bài học Tóm tắt lại toàn bộ nội dung về Spring AOP và các kiến thức đã học. Nhận diện những lỗi phổ biến (Pitfalls) khi sử dụng AOP. Liệt kê những Best Practices giúp sử dụng AOP hiệu quả hơn. Hướng đi nâng cao nếu muốn tối ưu Spring AOP...

29 min read · [hoangkim.hashnode.dev](https://hoangkim.hashnode.dev/bai-15-tong-ket-best-practices-va-pitfalls-trong-spring-aop?utm_source=hashnode&utm_medium=feed)

[hoangkim](https://hashnode.com/@hoangkim) · [Jan 29, 2025](https://hashnode.com/posts/bai-1-tong-quan-ve-aop-va-spring-aop/679a57bbae94bbe4a092deae)

### [Bài 1: Tổng quan về AOP và Spring AOP](https://hoangkim.hashnode.dev/bai-1-tong-quan-ve-aop-va-spring-aop?utm_source=hashnode&utm_medium=feed)

Mục tiêu bài học Nắm được khái niệm AOP (Aspect-Oriented Programming) và sự khác biệt với OOP. Biết cách AOP giải quyết vấn đề cross-cutting concerns (logging, transaction...). Hiểu vai trò của Spring AOP trong hệ sinh thái Spring, tại sao Spring ...

11 min read · [hoangkim.hashnode.dev](https://hoangkim.hashnode.dev/bai-1-tong-quan-ve-aop-va-spring-aop?utm_source=hashnode&utm_medium=feed)

[hoangkim](https://hashnode.com/@hoangkim) · [Jan 29, 2025](https://hashnode.com/posts/bai-11-ap-dung-aop-trong-kien-truc-microservices/679a5a17b1375fa89b16f3cb)

### [Bài 11: Áp dụng AOP trong kiến trúc Microservices](https://hoangkim.hashnode.dev/bai-11-ap-dung-aop-trong-kien-truc-microservices?utm_source=hashnode&utm_medium=feed)

Mục tiêu bài học Hiểu rõ cách AOP hỗ trợ trong việc quản lý cross-cutting concerns như logging, tracing, và security trong kiến trúc Microservices. Kết hợp Spring AOP với các công cụ như Spring Cloud Sleuth, Zipkin để truy vết (tracing) và giám sát...

11 min read · [hoangkim.hashnode.dev](https://hoangkim.hashnode.dev/bai-11-ap-dung-aop-trong-kien-truc-microservices?utm_source=hashnode&utm_medium=feed)

[hoangkim](https://hashnode.com/@hoangkim) · [Jan 29, 2025](https://hashnode.com/posts/bai-14-kiem-thu-testing-aop-trong-spring-boot/679a5ad778ad95a436d977f5)

### [Bài 14: Kiểm thử (Testing) AOP trong Spring Boot](https://hoangkim.hashnode.dev/bai-14-kiem-thu-testing-aop-trong-spring-boot?utm_source=hashnode&utm_medium=feed)

Mục tiêu bài học Hiểu các thách thức khi kiểm thử AOP: Aspect “ẩn” trong proxy, phải test cả method gốc và advice. Biết cách kiểm thử logic gốc vs. logic aspect: Phân biệt giữa unit test và integration test. Thực hiện unit test, integration test c...

4 min read · [hoangkim.hashnode.dev](https://hoangkim.hashnode.dev/bai-14-kiem-thu-testing-aop-trong-spring-boot?utm_source=hashnode&utm_medium=feed)

[hoangkim](https://hashnode.com/@hoangkim) · [Jan 29, 2025](https://hashnode.com/posts/bai-13-xay-dung-annotation-va-aspect-tuy-bien/679a5a99dd24353aa0e24049)

### [Bài 13: Xây dựng annotation và aspect tùy biến](https://hoangkim.hashnode.dev/bai-13-xay-dung-annotation-va-aspect-tuy-bien?utm_source=hashnode&utm_medium=feed)

Mục tiêu bài học Tạo custom annotation (e.g. @AuditLog): Học cách định nghĩa annotation mới để sử dụng trong các method hoặc class. Truyền tham số vào annotation: Hiểu cách truyền tham số động vào annotation để tăng tính linh hoạt. Áp dụng vào dự ...

3 min read · [hoangkim.hashnode.dev](https://hoangkim.hashnode.dev/bai-13-xay-dung-annotation-va-aspect-tuy-bien?utm_source=hashnode&utm_medium=feed)

[hoangkim](https://hashnode.com/@hoangkim) · [Jan 29, 2025](https://hashnode.com/posts/bai-8-transactional-va-aop/679a5999f36613478a7a1268)

### [Bài 8: Transactional và AOP](https://hoangkim.hashnode.dev/bai-8-transactional-va-aop?utm_source=hashnode&utm_medium=feed)

Mục tiêu bài học Hiểu cách @Transactional trong Spring Boot dựa trên AOP (proxy-based) để quản lý transaction. Biết cách sử dụng các propagation, isolation level khác nhau và tình huống phù hợp. Nắm rõ self-invocation (khi method gọi chính nó) dẫn...

4 min read · [hoangkim.hashnode.dev](https://hoangkim.hashnode.dev/bai-8-transactional-va-aop?utm_source=hashnode&utm_medium=feed)
