Let us first take a look at our pom.xml since we will have declare quite a few dependencies to do the heavy lifting.
Important to notice is we have declared a dependency on the project 'movieDomain' we created in part 1.
One thing important to remember is that your main application context file has to end with '-ws-servlet.xml' and in my case it's mapped to WEB-INF/demo-ws-servlet.xml. If you rename it you will find out the hard way your project will run into some exceptions.
I decided to have all webservice related requests mapped onto the url-pattern '/services/*', but that's upto you.
In part 4 of this serie we'll take a look at some other files.