If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!

Saturday, October 9, 2010

Building webservices with Spring-WS (part 5)

Since for our use case we only need to retrieve data from the database I only added following methods to our generic DAO interface:











A real implementation could look like the one below.



But in order to quickly test our application I wrote a little mock implementation for the MovieDao interface.


Part 6 will take a closer look at our MovieService interface/implementation and the endpoint and I will shortly explain why I had to use domain object adapters.

No comments:

Post a Comment