Spring practice using xml