Spring Core with annotations example