Spring框架开发培训(Introduction to Spring Framework)

spring开发培训

课程简介:
This 3-day course introduces the Spring Framework, the leading full-stack framework for Java EE applications. Topics covered include the Spring container, dependency injection, data validation, aspect-oriented programming, the JDBC Template, and the Hibernate Template. A Web application is also presented to illustrate the use of the Spring Web MVC framework.

培训对象:
Java developers and architects who wish to explore a popular, open-source alternative to traditional Java EE programming.

预备知识:
Students must have a strong Java programming skills and exposure to Java EE technology.

培训内容:
1. Introduction to Spring

  • What is Spring?
  • Overview of the Spring Framework
  • Spring Philosophies
  • Spring Documentation
  • Java 5 Language Features

2. A First Look at Spring

  • A Simple Example
  • Wiring Beans
  • Configuring a Properties File
  • Schema-Based Configuration

3. Beans and Containers

  • Spring Containers
  • Spring Configuration File
  • Spring Beans
  • Using the Container
  • The BeanFactory Interface
  • Singleton vs. Prototype
  • Bean Naming
  • Dependency Injection
  • Setter Injection
  • Constructor Injection

4. The Application Context

  • The ApplicationContext Interface
  • Accessing Application Components
  • Accessing Resources
  • Internationalization with MessageSource
  • Application Events

5. Data Validation and Conversion

  • The Validator Interface
  • The Errors Interface
  • The ValidationUtils Class
  • Validator Example
  • Testing the Validator
  • Property Editors
  • Custom Property Editors

6. Aspect-Oriented Programming

  • Aspect-Oriented Programming
  • AOP Concepts
  • AOP Proxies
  • The AOP Alliance
  • Types of Advice
  • AOP Example
  • Introductions

7. Using JDBC with Spring

  • A Simpler Approach
  • The JdbcTemplate Class
  • Exception Translation
  • Updating with the JdbcTemplate
  • Queries using the JdbcTemplate
  • Mapping Results to Java Objects

8. Using Hibernate with Spring

  • What is Hibernate?
  • Hibernate Sessions
  • The HibernateTemplate
  • Sample Class and Mapping File
  • Creating and Saving a New Entity
  • Locating an Existing Entity
  • Updating an Existing Entity
  • Hibernate Query Language
  • Executing Queries

9. Spring Web MVC – Part 1

  • Spring Web MVC
  • The DispatcherServlet
  • Writing a Controller
  • A Simple View Page
  • Configuring the Controller
  • Adding a View Resolver
  • Adding a Message Bundle
  • Adding Business Classes
  • Adding Test Data
  • Accessing a Database
  • Adding a Form
  • Updating the Database
  • Integrating Hibernate

10. Spring Web MVC – Part 2

  • Handler Mappings
  • View Resolution
  • Chaining View Resolvers
  • Controllers
  • AbstractWizardFormController

培训天数:
3 days

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注