I'm pretty sure that no one uses XML configuration any more. Would be nice to have the examples updated with the proper annotations.