Tagged articles

aspect

5 articles · Page 1 of 1
Shepherd Advanced Notes
Shepherd Advanced Notes
May 13, 2024 · Backend Development

Master Java Web Filters and Interceptors: Tutorials, Implementation Details, and Key Differences

This article explains the purpose, lifecycle, and configuration of Java Servlet Filters and Spring MVC Interceptors, compares their execution order with Spring AOP aspects, provides complete code examples for each component, and offers guidance on choosing the right mechanism for specific business requirements.

AOPInterceptoraspect
0 likes · 22 min read
Master Java Web Filters and Interceptors: Tutorials, Implementation Details, and Key Differences
Top Architect
Top Architect
Jan 26, 2024 · Backend Development

Using Spring Expression Language (SpEL) for Flexible Permission Control in Spring Boot

This article demonstrates how to integrate Spring Expression Language (SpEL) with custom annotations and AOP in Spring Boot to create a highly flexible, maintainable permission‑checking mechanism that can handle various complex access scenarios without scattering hard‑coded logic throughout the codebase.

Custom AnnotationPermissionSpring Boot
0 likes · 11 min read
Using Spring Expression Language (SpEL) for Flexible Permission Control in Spring Boot