Spring Configuration using xml and annotation.