Part 6 will take a closer look at the movieService interface/implementation and the endpoint.
Since all our service offers is finding movies by title the interface is very basic.
The implementation uses the DAO layer to fetch the collection of movies by title provided. We only have to take care of adapting our Movie to MovieWS classes.
I created a generic Adapter interface:
And a Abstract class DomainAdapterImpl which implements 1 method.
The adapters are easy 1 on 1 mappers from our application domain objects onto our webservice domain objects.
Part 7 will take a look at our applicationContext.