https://github.com/kasramp/spring-boot-aspectj
Example of Spring Boot 3 with AspectJ
https://github.com/kasramp/spring-boot-aspectj
aspectj java spring spring-aop spring-boot springboot springboot3
Last synced: about 2 months ago
JSON representation
Example of Spring Boot 3 with AspectJ
- Host: GitHub
- URL: https://github.com/kasramp/spring-boot-aspectj
- Owner: kasramp
- License: gpl-3.0
- Created: 2020-03-27T22:22:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-10T10:30:06.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T09:21:50.095Z (2 months ago)
- Topics: aspectj, java, spring, spring-aop, spring-boot, springboot, springboot3
- Language: Java
- Homepage: https://www.geekyhacker.com/how-to-configure-aspectj-in-spring-boot/
- Size: 32.2 KB
- Stars: 7
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Spring Boot 3 + AspectJ example
Sample Spring Boot 3 project with AspectJ configured. With AspectJ we can apply `@Cacheable` and `@Transaction` to **private** methods. Works with JDK 17.
Read this blog post for more details,
- [How to configure AspectJ in Spring Boot](https://www.geekyhacker.com/how-to-configure-aspectj-in-spring-boot/)
- [How to use Spring Boot Cacheable on self-invocation](https://www.geekyhacker.com/how-to-use-spring-boot-cacheable-on-self-invocation/)## How to run
To run the project execute,
```bash
$ mvn spring-boot:run
```