Things to note when using Spring AOP in Jersery resource classes

When defining a Jersey resource class as a Spring component, if you use JSR-330's @ Name instead of Spring's @ Component, Spring AOP using @ Transactional or @ Aspect will work. Absent.

According to Jersey's Official Reference, you need to use one of the following annotations for your resource class.

Implementation example
@Component // @AOP doesn't work with Named
public class SampleResource { ...

reference

Recommended Posts

Things to note when using Spring AOP in Jersery resource classes
Things to keep in mind when using if statements
Things to keep in mind when using Sidekiq with Rails
Things to note in conditional expressions
ProxyFactory is convenient when you want to test AOP in Spring!
Things to consider when running a specified job using Spring Batch
I summarized the points to note when using resources and resources in combination
Things to keep in mind when using Apache PDFBox® with AWS Lambda
Things to keep in mind when committing to CRuby
When you want to notify an error somewhere when using graphql-spring-boot in Spring Boot
A note when I'm addicted to using Docker Hub Vault in server mode
[Note] Configuration file when using Logback with Spring Boot
Things to keep in mind when adding war to dependency
N things to keep in mind when reading "Introduction to Spring" and "Introduction to Spring" in the Reiwa era
Things to be aware of when using devise's lockable
[Java] Things to note about type inference extended in Java 10
Things to watch out for when using Deeplearning4j Kmeans
Things to keep in mind when testing private methods in JUnit
Things to be aware of when writing code in Java
8 things to insert into DB using Spring Boot and JPA
How to control transactions in Spring Boot without using @Transactional
Introduction to Spring Boot ② ~ AOP ~
I can't log in to MySQL from Django when using docker-compose
Unable to get resources when using modules in Gradle and IntelliJ
How to solve the unknown error when using slf4j in Java
Unknown error in line 1 of pom.xml when using Spring Boot in Eclipse
How to use Lombok in Spring
How to use classes in Java?
Things to keep in mind when combining if statements and logical operators
[Note] I want to get in reverse order using afterLast with JdbcTemplate
Settings when calling API using CSRF measures of Spring Security in JMeter
How to not start Flyway when running unit tests in Spring Boot
JSESSIONID could not be assigned to the URL when using Spring Security