Myoneemyonee.hashnode.dev·Jul 25, 2024Transaction Log 출력하기Transaction Logging AOP 포인트 컷(Pointcut) 조인 포인트 중에서 어드바이스가 적용될 위치를 선별하는 기능 어떤 메소드에 어드바이스를 적용할지를 결정 스프링 AOP는 프록시 방식을 사용하므로 메소드 실행 지점만 포인트 컷으로 선별 가능 ➔ 메소드 호출 시점에만 어드바이스가 적용될 수 있음 포인트컷 표현식(AspectJ pointcut expression) import lombok.extern.slf4j.Slf...Discussaop
Prashant Baleprashbale.hashnode.dev·Jul 24, 2024Aspect-Oriented Programming in Spring: Simplifying Cross-Cutting ConcernsAspect-Oriented Programming (AOP) is a programming paradigm that allows you to separate cross-cutting concerns from the main business logic of your application. This separation helps keep your code clean, modular, and easier to maintain. Cross cuttin...DiscussAspect
hoangkimhoangkim.hashnode.dev·May 22, 2024Module 2: In-Depth Understanding of Spring AOPHere are the questions and answers extracted in English from the provided files: Question 01: What is the concept of AOP? Answer: Aspect Oriented Programming (AOP) is a programming paradigm that complements Object-Oriented Programming (OOP) by provi...Discussspring-aop
jean joel Nteppblog.nameksoft.xyz·Mar 19, 2024Handle Exceptions Consistently in Spring MVC with @ControllerAdviceIntroduction In an application based on the MVC pattern, client requests are received by the controller ( C ), which, based on the Model layer (M) and associated services, performs processing. The result of this processing is returned to the appropri...Discuss·10 likes·27 readsexceptionhandling
KwonMInwooforTeam Cook's Blogybe-teamcook7.hashnode.dev·Oct 15, 2023Spring AOPAOP Aspect Oriented Programming의 약자로 관점 지향 프로그램을 의미한다. 어플리케이션에서 코드가 중복되고, 강력하게 결합되어 있어 다른 로직과 분리할 수 없는 로직인 ‘횡단 관심사’와 핵심 비즈니스 로직을 분리하는 것을 목적으로 둔다. 예시로 메서드의 실행 시간을 구하는 기능, 트랜잭션 등이있다. 장점 전체 코드 기반에 흩어져 있는 관ㅅ미 사항이 하나의 장소로 응집한다. 자신의 주요 관심사에 대한 코드만 포...DiscussTechtalkSpringboot
Donnietechnicaldeepdive.hashnode.dev·Sep 6, 2023Hướng dẫn Spring AOP (Aspect-Oriented Programming) đầy đủ và chi tiết.Giới Thiệu về AOP và Spring AOP: Giải thích khái niệm AOP và làm thế nào Spring Framework hỗ trợ AOP. Cung cấp một ví dụ đơn giản để giới thiệu các khái niệm như Aspect, Advice, Pointcut, Joinpoint, v.v. Cài Đặt và Cấu Hình: Cách thêm các phụ thuộc ...Discussspring-aop
Aditya Chaudhariwww.adityatechinsights.com·Jul 25, 2023From Chaos to Symphony: Embracing Spring AOP for Elegantly Orchestrated Code.Think of orchestrating an e-commerce platform as conducting a grand symphony. Each section of the orchestra - user management, inventory control, order processing, payment gateway, and security - must perform in harmony to deliver a melodious perform...Discuss·92 readsSpring Framework InsightsSpring framework
Mayank MittalforBit More Engineeringbitmoreengineering.hashnode.dev·Jul 18, 2023Custom Annotation For Taking Redis LockI assume you know how to use Redis service in the spring boot service. Redis uses Distributed Lock method, which ensures lock safety for multiple servers and containers. The lock key is stored in a centralized way so all the containers can take it. T...Discuss·43 readscustom annotation
Ji, Seunghyeonjiseunghyeon.com·Jul 12, 2023JDK Dynamic Proxy와 CGLIB💡ProxyFactory 스프링 AOP의 ProxyFactory는 프록시를 생성하는 과정에서 타겟이 하나 이상의 인터페이스를 구현하고 있다면 JDK Dynamic Proxy 방식으로 프록시가 생성하고, 그게 아니라면 CGLIB 방식으로 프록시가 생성해주는 팩토리입니다. 클라이언트가 ProxyFactory로 생성된 프록시를 호출하면 JDK Dynamic Proxy의 경우 InvocationHandler의 invoke() 메서드가 실행되고, C...Discuss·75 readsSpring
Jarosław Samulewskijarkow.hashnode.dev·May 30, 2023Creating Custom Annotations in SpringIn a previous article, we delved into transaction management in Spring and demonstrated how to create a custom annotation for handling transactions. In this article, we will take a broader look at annotations in Spring, understand their significance,...Discuss·613 readsSpringboot