@Component
Also written: @Service, @Repository
Annotations that make a class a bean. @Service marks business rules and @Repository marks data storage; both are @Component with clearer names.
Also written: @Service, @Repository
Annotations that make a class a bean. @Service marks business rules and @Repository marks data storage; both are @Component with clearer names.