Spring 2.5 for Java SE Developers
Instruction Language: English
Duration: 3 days
This in-depth, advanced workshop Using Spring will present developers with best practices for software development,
as well as tips and techniques for working with the tools and technologies within their specific environment.
Who benefits?
This is an intermediate level Java programming course, designed for developers who wish understand Spring.
The student should be an experienced Java programmers, with practical development experience.
Course contents (Trivera course catalogue)
Session: Review of the Spring Framework
Lesson: The Spring Framework and IoC
- Understand the value of Spring
- Explore IoC/DI
- Configuring collaborators
- Understand built-in property editors
Lesson: The Spring IoC container
- Instantiate the IoC container
- Introduce the spring configuration file
- Configure beans within the spring configuration file
- Configure bean properties using the Spring configuration file
- Configure collaborators
- Understand built-in property editors
Lesson: Advanced Spring Container Features
- Introduct some of Spring's callback interfaces
- Provide an overview of Spring's factory beans
- Re-use bean definitions in the configuration file
- Create custom property editors
- introduce the PropertyPlaceholderConfigurer
- Use placeholders in the configuration file
- explain the use of factory beans
- Add internationalization using MessageSources
Session: Advanced Spring configuration
Lesson: XML Schema based configuration
- Explain XML-Schema based configuration
- Introduce the util namespace
- Introduce the context namespace
Lesson: Annotations and Container Extension Points
- explain the use of BeanPostProcessors
- use annotations to define bean dependencies
- become familiar with the @Autowired annotation
- use @Qualifier and bean meta data
- develop your own qualifier annotation
- understand the use of the JSR-250 @Resource annotation
- add lifecycle annotations to the bean
- use stereotype annotations within the bean
- explain the use of the @Repository, @Service and @Controller annotations
Session: Spring AOP Framework
Lesson: Introduction to Aspect-Oriented Programming
- explain the basics of AOP
- introduce AOP support within Spring
Lesson: Spring AOP
- Understanding Spring AOP
- introduce the AOP alliance API
- Explain how to develop interceptors (aspects)
- become familiar with the AspectJ language to define pointcuts
- understand how XML-Schema based AOP definitions are added to the Spring configuration file.
Session: Spring Data Access Support
Lesson: Overview
- Understand the Spring DAO
- Understand Transaction Demarcation within Spring
Lesson: Spring JDBC
- Overview of Spring JDBC support
- Defining DataSources
- JDBC Exceptions and the SQLExceptionTranslater within Spring
- Creating JDBC DAOs
- Using the JdbcTemplate class
- Mapping rows to Objects using the JdbcTemplate
- Mapping data to Objects using SQL Helper Objects (Operation Classes)
Lesson: Introduction to Hibernate
- Define Object to Relational (O/R) Mapping (ORM)
- Define the Hibernate Architecture
- Illustrate the benefits of using Hibernate
- Understand the goals of Hibernate
- Understand key functionalities of Hibernate
- Define the different Hibernate types (Entities and values)
- Understand different Persistent representations (POJOs, Maps and XML)
Lesson: Spring Hibernate
- Overview of Spring Hibernate support
- Session and connection management
- Creating Hibernate DAOs
- Using the hibernateTemplate class