Spring is a lightweight Java framework for building enterprise applications. Its Core module allows you to manage the lifecycle of your objects and the dependencies between them via configuration metadata (either XML or annotations) and Dependency Injection / Inversion of Control. Its advanced capabilities provide support for JDBC and persistence frameworks like Hibernate (DAO and ORM modules), Aspect-Oriented Programming (AOP module), and integration with Java EE Web technologies, security, transactions, and more.
This course is a new course based on the Spring 3 release. It includes complete coverage of the annotation based approach to configuration and the use of Java-5 capabilities that was first introduced in Spring 2.x, and which has been greatly enhanced in Spring 3. It also provides coverage of the traditional XML-based configuration that can still play an important role in existing and new projects.
The course starts with the basics of Spring and in-depth coverage on using the powerful capabilities of the Core module to reduce coupling, and increase the flexibility, ease of maintenance, and testing of your applications. It goes on to cover all the important capabilities of Spring 3, including using Spring to simplify the creation of a persistence layer with JDBC and/or persistence frameworks like Hibernate and JPA. It includes coverage of advanced capabilities such as using Spring's Aspect Oriented Programming (AOP) to program cross-cutting concerns such as transactions and security.
The course includes integration of Spring with Java EE Web applications, and an introduction to Spring Security v3, its architecture, and how to use it to secure both Web application requests and bean invocations.
This course is hands on with labs to reinforce all the important concepts. It will enable you to build working Spring applications, and give you an understanding of the important concepts and technology in a very short time.
The standard platform does all labs with the Eclipse IDE, and the lab instructions include detailed directions for setting up and using it. The course is available for all major development environments, including IBM RAD and IntelliJ.
Introduction
- Overview of Spring Technology
- Spring Introduction
- Dependencies and Dependency Injection (DI)
More about Bean Properties
- Working with Properties
- Spring Expression Language for Configuration
- Collection Valued Properties
- Additional Capabilities
The Spring Container and API
- ApplicationContext
- Resource Access - Overview, Resource Implementations
- Validation
- Bean Scope and Lifecycle
- MessageSources
- Annotation Driven Configuration
- Java Based Bean Metadata (JavaConfig)
- Other Capabilities
Database Access with Spring
- Issues with JDBC / Typical JDBC Flow
- Introduction to Spring DAO Support
- Queries and Inserts
- Additional API Capabilities
- Using Spring with Hibernate
- Using Spring with JPA
Aspect Oriented Programming (AOP)
- Overview of AOP
- Introduction to Spring AOP
- Using Aspects
- Using @AspectJ Annotations
Spring Transaction (TX) Management
- Intro to Spring Transaction Management
- Using Spring Transactions
- Annotation Configured Transactions
- XML Configured Transactions
Introduction to Spring Web Integration
- Integrating Spring with Java EE Web Apps
Overview of Spring Security
- Overview - Capabilities, Architecture
- Introduction to Spring Security
- Authentication Providers