If you have to work with legacy Spring applications, chances are youwill have to know how XML-based configuration works. Although Javaconfiguration is preferred for new applications, sometimes you justdon’t have a choice, so you’d better be comfortable with it. The Code You can find the code from this blog post onGitLab. Dependencies The only dependency you need to get a Spring container running isspring-context. Add in Maven: <dependency><groupId>org.springframework</groupId><artifactId>...