EC70 - Spring Framework Programming Workshop - 3 Days

Course Description


Customisation

For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.


Course Details

INTRODUCTION TO SPRING
What Is Included With Spring?
Inversion Of Control And Dependency Injection
Dependency Lookup
Dependency Injection
Simple Spring DI Example
Aspect Oriented Programming
Simple Spring AOP Example
Data Access With Spring
Other Data Access Tools

DEPENDENCY INJECTION AND BEAN FACTORIES
Creating A Spring Container
Bean Configuration
Setter Injection
Injecting Values
Spring 2.0 Property Injection
Constructor Injection
Constructor Issues: Using Index And Type Attributes
Injecting Collections
Injecting Maps
Injecting Lists
Injecting Properties
Injecting Sets
Spring 2.0 Collections
Bean Scopes
Singletons
Prototypes
Singleton Beans With Prototype-Bean Dependencies
Factory Methods
Static Factory Methods
Instance Factory Methods
Factory Beans
When Would You Use Factorybeans?
Bean Inheritance
Inner Beans
Bean Naming
Bean Naming Aliases
Bean Aliasing
Importing Configuration Files
Spring 2.0 Utilities

OTHER IOC FEATURES
Application Context
Beanfactory Or ApplicationContext?
Using The ApplicationContext
Creating An ApplicationContext From Multiple Files
Bean Lifecycle
Initialisation
Destruction
Method Injection
BeanFactoryAware
Property Editors
Custom Property Editors

ASPECT ORIENTED PROGRAMMING
Introduction To AOP
Terminology
Join Point
Pointcut
Advice
Aspects
How Aspects Are Applied In Spring (with and without annotations)
Using Joinpoint Context
Context Selecting Pointcuts
Defining Pointcuts
Pointcuts With Annotations
Pointcut Chaining
Declaring Advice
Before Advice
AfterReturning Advice
AfterThrowing Advice
After Advice
Around Advice

SPRING DATABASE ACCESS INTRODUCTION
Resource Management
Spring Support
Configuration Of Layers

SPRING JDBC DATABASE ACCESS
JDBC Vs Spring JDBC
Exceptions
Connections And Datasources
JdbcTemplate
JdbcDaoSupport
SimpleJdbcDaoSupport
Querying For Objects
Single Row Queries
Multiple Row Queries
Object Queries And Java 5 (Spring 2.0)
Joins And The ResultsetExtractor
Calling Stored Procedures
Updating
Batch Updates

SPRING HIBERNATE DATABASE ACCESS
Introduction To Hibernate
Configuring Hibernate
Mapping Files
Simple Mapping Example
Key Generation
One-To-Many Mappings
Many-To-Many Mappings
A More Complex Many-To-Many Example
Writing Hibernate DAOs
Hibernate Query Language (HQL)
Using Annotations With Hibernate

TRANSACTION MANAGEMENT
Declarative Transactions
Spring Configuration For Declarative Transactions
XML Based Spring Transactions
Platform Transaction Manager
Programmatic Transaction Management
Isolation Levels
Transaction Propagation


Course Enquiry