Match the specializations of components with their roles in Spring applications
@Bean vs @Component
Specializations of components purpose
Report a typo
Match the items from left and right columns
@Component
@Service
@Controller
@Repository
Indicates a generic Spring-managed component
Indicates a component that interacts with external data storage (such as a database)
Indicates a component that can work in a web environment
Indicates a business logic component but doesn't provide any additional functions
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.