I'm creating a data access object to retrieve information from Google App Engine for a web app built on the Spring framework (first time for all).
I see a number of examples that use a Controller/webapp -> Service -> DAO -> JDO/Google-app-engine pattern.
In this pattern the DAO layer is the only one that knows about JDO, thus this layer is the only one needing replacement if the data store changed. The Services layer calls the DAO layer and formats/manipulates the data s needed.
My question is why the extra Service layer? At least initially it doesn't seem like the Service layer is adding much to the equation. I would naturally think to just write a DAO layer to encapsulate the JDO requests and manipulate and return the data.
Can someone show me the rational for a separate Service layer, will this become obvious as the project becomes larges and more complex?