Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What is a bean in the context of Spring?
Think of objects in your code that Spring controls.
Which configuration method uses XML files?
Recall the older traditional method of configuration.
What does the @Bean annotation do?
Think about how Spring recognizes and manages components.
True or False: XML-based configuration is the only way to configure Spring applications.
Consider the evolution of Spring configuration methods.
Given a scenario where an existing XML-based configuration is becoming cumbersome, design a strategy to refactor it to use annotation-based configuration.
Look for XML bean definitions and think about how they could translate into Java methods.
4 more questions in this section. Enroll free to practise them all.
Enroll free