Tagged articles
2 articles
Page 1 of 1
Programmer DD
Programmer DD
Jul 26, 2020 · Backend Development

How Does Spring Parse @Component and @Service Annotations? A Deep Dive

This article explains the internal workflow of Spring's annotation processing, detailing how @Component and its specializations like @Service are discovered through XML namespace handlers, classpath scanning, metadata readers, and meta‑annotation handling, complete with code excerpts and step‑by‑step analysis.

Annotation Processingcomponent scanningspring
0 likes · 12 min read
How Does Spring Parse @Component and @Service Annotations? A Deep Dive
Programmer DD
Programmer DD
Apr 11, 2019 · Backend Development

How to Organize Spring Boot Projects for Seamless Component Scanning

Spring Boot imposes no strict project layout, but adopting a recommended package structure—placing the main application class in a root package and organizing domain, service, and web layers under it—prevents configuration pitfalls and ensures automatic component scanning, while alternative scanning methods like @ComponentScan and @Bean can handle non‑standard layouts.

JavaSpring Bootcomponent scanning
0 likes · 5 min read
How to Organize Spring Boot Projects for Seamless Component Scanning