spring configuration

spring configuration using xml, annotation and java configuration