In the various examples I have seen it appears there is no service layer -- entities are persisted without business logic. I realize that the examples are simplified. I have