Springfield - Reference Documentation

Authors

u2ware Developer

1.5.0

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.


Table of Contents

Preface
1. Intro
1.1. Maven dependency
1.2. @Springfield
1.3. <springfield:modules>
1.4. Springfield Example
2. Core Concept
2.1. Architecture Support Beans
2.1.1. EntityController
2.1.2. EntityValidator
2.1.3. EntityService
2.1.4. EntityRepository
2.2. ORM Support Beans
2.2.1. Using JPA
2.2.2. Using Hibernate
2.2.3. Using Mybatis
2.2.4. Using JdbcTemplate
2.2.5. Transaction
2.3. Web Support Beans
2.3.1. Message
2.3.2. Locale
2.3.3. Validation
2.3.4. Multipart
2.3.5. ViewResolver
2.3.6. Security
3. WebMVC
3.1. web.xml
3.2. Request Mapping
3.2.1. topLevelMapping
3.2.2. methodLevelMapping
3.3. Resolving View
3.3.1. Thymeleaf
3.3.2. JSON
3.3.3. SpreadSheet
3.4. Navigation
4. Architecture
4.1. Controller
4.1.1. Unit Test
4.2. Validator
4.2.1. Override
4.3. Service
4.3.1. Override
4.3.2. DTO
4.4. Repository
4.4.1. Unit Test
4.4.2. Query Keyword
4.4.3. TemplateCallback
4.5. Multipart
4.5.1. Unit Test
4.5.2. Upload / Download
4.6. Security
4.6.1. Config
4.6.2. UserDetails
4.6.3. UserDetailsService