img
Table 21-1. SpringBlog Tables
Table Name
Purpose
This table stores the user information for security control with Spring
APP_USER
Security. Users will be authenticated with the information in this table.
This tables stores the available roles (in other words, normal user and
ROLE
administrator, as well as remote client) within the application.
This is the join table that stores the roles granted to each user.
USER_ROLE_DETAIL
This tables stores the category for each blog post (for example, Java, JPA,
CATEGORY
Spring, and so on). A category can be a subcategory, and in this case, the
column PARENT_CATEGORY_ID indicates the parent category.
This table stores the blog post entries.
ENTRY
This table stores the attachments for blog post entries.
ENTRY_ATTACHMENT_DETAIL
This table stores the comments to blog post entries. It has a many-to-one
COMMENT
relationship to the ENTRY table.
This table stores the attachments for comment entries.
COMMENT_ATTACHMENT_DETAIL
Domain Object Model
Now let's proceed to the domain object model. As discussed in Chapter 12, the DOM is an object-
based representation of the application problem domain. In SpringBlog, the domain is the information
related to blog posts. The DOM is closely related to the data model, and in JEE applications, no matter
whether you are using ORM or data mapping technology, there will be a "mapping" process in
transforming the data model into Java's DOM. Figure 21-8 shows the DOM of the SpringBlog
application.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home