The Mystery of Spring MVC Annotation Failure - Part 1
Spring MVC is widely adopted across many teams at Meituan Dianping for web development. In projects built upon Spring MVC, annotations are extensively used throughout various modules — from standard Java annotations like @Override and @Deprecated, to Spring-specific ones such as @Controller, @Service, and @Autowired, and even custom-defined ann ...
Đăng vào ngày 23 tháng 9 lúc 10:26
Nguyên lý Cấu hình Tự động trong Spring Boot
Khi phát triển ứng dụng với Spring Boot, chú thích @SpringBootApplication là điểm khởi đầu quen thuộc. Ít người để ý rằng chú thích này thực chất là một sự kết hợp của ba chú thích quan trọng khác, đóng vai trò nền tảng cho cơ chế cấu hình tự động mạnh mẽ của Spring Boot:
@SpringBootConfiguration
@EnableAutoConfiguration
@Component ...
Đăng vào ngày 10 tháng 8 lúc 17:13