Spring is a leading Java/JEE application framework. In this hands-on course, attendees learn how to use Spring to rapidly build Java EE applications using Spring core and common Spring modules including aspect oriented programming (AOP) and database access objects and also transaction management.
Who can benefit from this course?
Java developers and Java EE programmers interested in developing applications with Spring frameworks
Prerequisites:
At least one year of full-time experience with developing applications using Java SE.
Course Objectives:
At the end of the course, you should understand Spring and associated technologies including:
- develop Java applications using the Spring Framework
- Spring container
- the scope, purpose and architecture of Spring
- Spring's IoC (Inversion of Control)
- Spring DI (Dependency Injection)
- defining Spring beans and wiring beans
- aspect oriented programming (AOP) to add behavior to objects and separate behavior from business logic
- connect business objects to persistent stores using Spring's Data Access Objects (DAO) and Object Relational Mapping (ORM) modules
- make use of Spring’s support for transactions
Course Topics:
Introduction
- what is Spring
- usage
- what do you need to start using Spring
- dependency injection
Spring Beans
- how to associate objects in general
- what is Spring container
- who to configure Spring container
- how to define Spring Beans in the Spring container
- how to wire beans
- aliasing beans
- Injecting values into bean properties
- how to wire beans automatically (auto-wiring)
- using stereotype annotations to define beans
AOP and advising beans
- what is AOP, basic and introduction
- Classic Spring AOP (proxy-based)
- Spring Expression Language (SpEL)
- how to define AOP by XML configuration
- how to use Spring annotation-driven aspects (@AspectJ annotations)
- how to use AspectJ
Spring Database
- what is common database task without Spring
- common exception handling with/without Spring
- how use Spring Data Access Object module
- Spring templating
- how to configure data sources
- how does Spring DAO module work using JDBC
Spring Object Relation Mapping (ORM)
- Integrating Hibernate with Spring
- Integrating JPA with Spring
Spring Transaction Management
- what is transaction
- Spring transaction APIs
- Transaction managers
- programmatic transaction handling
- Declarative transaction handling (Annotation-driven)