Get this, there is a web framework call Spring, and it let's you solve the problem of using Spring with XML configuration.
Unclear if it has any other benefits or solve any problems, but youtube videos say it is the best thing ever because you don't have to use XML configuration to write your, I guess, solution to a problem that involved XML configuration.