Spring by Example

David Winterfeldt

Version 0.92


Table of Contents

I. Core
AspectJ Load-time Weaving in Spring
1. JVM Argument
2. Spring Configuration
3. AspectJ Configuration
4. Reference
Related Links
Project Setup
Project Information
II. Persistence
Simple Spring JDBC Template
1. Spring Configuration
2. Code Example
3. Reference
Related Links
Simple Hibernate XML Configuration
1. Spring Configuration
2. Hibernate Configuration
3. SQL Script
4. Code Example
5. Reference
Related Links
One to Many Hibernate XML Configuration
1. Spring Configuration
2. Hibernate Configuration
3. SQL Script
4. Code Example
5. Reference
Related Links
Project Setup
Project Information
One to Many Hibernate Annotation Configuration
1. Spring Configuration
2. Hibernate Configuration
3. SQL Script
4. Code Example
5. Reference
Related Links
Project Setup
Project Information
One to Many JPA Hibernate Configuration
1. Spring Configuration
2. JPA Entity Configuration
3. JPA Configuration
4. Code Example
5. Reference
Related Links
Project Setup
Project Information
Hibernate Transaction Annotation Configuration
1. Spring Configuration
2. Code Example
3. Reference
Related Links
Project Setup
Project Information
Simple Spring Transactional JUnit 4 Test
1. Spring Configuration
2. Code Example
3. Reference
Related Links
Project Setup
Project Information
III. Web
Simple Tiles 2 Spring MVC Webapp
1. Spring Configuration
2. Tiles XML Configuration
3. JSP Example
4. Reference
Related Links
Project Setup
Project Information
Basic Webapp Internationalization
1. Web Configuration
2. Spring Configuration
3. JSP Example
4. Message Resource Property Files
5. Reference
Related Links
Project Setup
Project Information
Simple Spring MVC Form Annotation Configuration Webapp
1. Web Configuration
2. Spring Configuration
3. JSP Example
4. Code Example
5. Reference
Related Links
Project Setup
Project Information
Simple Spring Security Webapp
1. Web Configuration
2. Spring Configuration
3. JSP Example
4. Code Example
5. SQL Script
6. Reference
Related Links
Project Setup
Project Information
Simple Spring Web Flow Webapp
1. Web Configuration
2. Spring Configuration
3. JSP Example
4. Code Example
5. Reference
Related Links
Project Setup
Project Information
Spring Web Flow Subflow Webapp
1. Spring Configuration
2. JSP Example
3. Code Example
4. Reference
Related Links
Project Setup
Project Information
Simple GWT Spring Webapp
1. Web Configuration
2. GWT
GWT Configuration
Spring Configuration
JSP Example
Code Example
3. Spring JS Configuration
Spring Configuration
JSP Example
4. Reference
Related Links
Project Setup
Project Information
IV. Enterprise
Simple Spring Web Services
1. Server Configuration
Web Configuration
Spring Configuration
XML Schema Descriptor
Code Example
2. Client Configuration
Spring Configuration
Code Example
3. Reference
Related Links
Project Setup
Project Information
Spring Modules JCR Node Creation & Retrieval
1. Spring Configuration
2. Code Example
3. Reference
Related Links
Project Setup
Project Information
V. Modules
Module Summary
1. Downloads
Custom ServletContext Scope Module
Custom Thread Scope Module
Dynamic Tiles Module
Spring by Example JCR Module
Spring by Example JDBC Module
Spring by Example Utils Module
Spring by Example Web Module
Spring by Example Custom ServletContext Scope Module
1. Spring Configuration
2. Download
3. Reference
Related Links
Project Setup
Project Information
Spring by Example Custom Thread Scope Module
1. Spring Configuration
2. Code Example
3. Download
4. Reference
Related Links
Project Setup
Project Information
Dynamic Tiles 2 Spring MVC Module
1. Spring Configuration
2. Tiles XML Configuration
3. Tiles JSP Example
4. DynamicTilesView
Processing Order
5. Download
6. Reference
Related Links
Project Setup
Project Information
Spring by Example JCR Module
1. Spring Configuration
2. Code Example
3. Download
4. Reference
Related Links
Project Setup
Project Information
Spring by Example JDBC Module
1. Spring Configuration
2. Code Example
3. Download
4. Reference
Related Links
Project Setup
Project Information
Spring by Example Utils Module
1. HttpClientTemplate
Spring Configuration
Code Example
2. HttpClientOxmTemplate
Spring Configuration
Code Example
3. Logger BeanPostProcessor
Spring Configuration
Code Example
4. Download
5. Reference
Related Links
Project Setup
Project Information
Spring by Example Web Module
1. Spring GWT Controller
Spring Configuration
Code Example
2. Spring Bayeux Integration for Comet on Jetty
Web Configuration
Spring Configuration
Code Example
3. Image Interceptor
Spring Configuration
JSP Example
4. Download
5. Reference
Related Links
Project Setup
Project Information
A. Setup
A.1. Project Setup
Basic Setup
Eclipse IDE 3.4 Setup
General Eclipse IDE Setup