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·26 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 SamulewskiProsamulewski.com·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·598 readsSpringboot
Dominic Dempseydominic-dempsey.hashnode.dev·Jan 16, 2023Aspect Oriented Programming with SpringWhat's Spring AOP? Spring AOP (Aspect-Oriented Programming) is a feature of Spring Framework that allows developers to modularize cross-cutting concerns, such as logging, security, transaction management, caching, etc. into reusable and maintainable ...Discuss·27 readsspring-aop
Maqsud Safinmcss55.hashnode.dev·Dec 21, 2022What is Spring?Spring has been created by Rob Johnson in 2003. Spring is an application development framework for Java. Spring framework is an open-source platform. Spring makes Java easy, safe and quick. Spring gives more functionality to developers. Spring has a ...Discuss·1 like·34 readsSpringboot
Thirumurthi Sthirumurthi.hashnode.dev·Oct 23, 2022Validate input JSON payload with SpringBoot AOPValidate input JSON payload with SpringBoot AOP In this blog will demonstrate an use case to use SpringBoot AOP to perform input validation in the @Controller or @Service layer level. Pre-requisites Basic understanding of AOP concept like Point Cut,...Discuss·1 like·2.0K readsspring-aop