Difference between @Component, @Service, @Repository?

All register as singleton beans via component scan. Choose by layer for readability: @Repository on DAOs (plus SQLException translation), @Service on...

Difference between @Component, @Service, @Repository? · Home · Support the platform