Search code examples
javaspring-mvcannotationspojo

Spring MVC annotations configurations


Can someone point me to a link or resource on how to configure the applicationContext.xml and Servlet.xml files when using annotations. Also i would like to understand what annotations the POJO's will be required to have and what definitions are needed in the applicationContext.xml and Servlet.xml files.

Any assistance even if its code samples will be greatly appreciated.


Solution

  • This is how I learned to set up Spring MVC (configuration files, etc) :


    As for Spring layers and annotations, some interesting Stack Overflow posts :