img
Figure 21-20. SpringBlog type conversion and formatting
In Figure 21-20, the create date and last modified date are shown in the appropriate format.
There are still many other features that were implemented in the SpringBlog application, such as
i18n, theming, jQuery, pagination, Ajax for dynamic update of category boxes (in other words, when the
parent category is changed, the list box for the subcategory select box will refresh with the result from an
Ajax call), file upload, and so on. However, the implementations were based on Ajax calls between
jQuery and the Spring MVC layer, which are basically the same as the implementation of the pagination
in the data table using jqGrid; therefore, they are detailed in Chapter 17, and we will skip the discussion
here.
Summary
In this chapter, we discussed the details of the design and implementation of the sample application
for this topic, the SpringBlog application.
First, instructions were provided on how to set up the project, as well as switch between different
datasources and implementations with Spring Framework 3.1's support of bean definition profiles.
Second, we elaborated on the design of the SpringBlog application. Topics included the data model,
domain object model, and UML model of the main use cases within the application.
Then, we discussed the configuration of the SpringBlog application. Topics included the web
deployment descriptor configuration, as well as the Spring's WebApplicationContext hierarchy.
Finally, the detailed implementation of the main features that showcase the Spring Framework's
powerful features were discussed. The implementation of the service layer, AOP for obscenity filtering,
task scheduling, and the presentation layer were discussed in detail.
Search WWH :
Custom Search
Previous Page
Spring Framework 3 Topic Index
Next Page
Spring Framework 3 Bookmarks
Home