On the flipside of this, logic that involves only domain objects is ideally placed in the DOM, which allows
it to be used wherever the DOM is used.
The SpringBlog Domain Object Model
Let's take a look at the DOM for the sample application. Figure 12-1 shows the SpringBlog DOM for blog
postingrelated domain objects, while Figure 12-2 shows the DOM for blog users and their granted roles.
Figure 12-1. The DOM in SpringBlog for blog posting
Search WWH :