Course Overview
TOPIntroduction to Spring 5.x is a comprehensive hands-on introduction to Spring training course geared for experienced Java developers who wish to explore the Spring Framework is in terms of today's systems and architectures, and learn how to use Spring in conjunction with other technologies and frameworks. Students will gain hands-on experience working with Spring, using Maven for project and dependancy management, and, optionally, a test-driven approach (using JUnit) to the labs in the course.
The Spring framework is an application framework that provides a lightweight container that supports the creation of simple-to-complex components in a non-invasive fashion. Spring's flexibility and transparency is congruent and supportive of incremental development and testing. The framework's structure supports the layering of functionality such as persistence, transactions, view-oriented frameworks, and enterprise systems and capabilities. This course targets Spring 5.x, which includes full support for Java SE 11 and Java EE 8. Spring supports the use of lambda expressions and method references in many of its APIs. Spring 5.x is fully compatible with the module path introduced in Java 9.
Spring makes enterprise development easier. Spring simplifies common tasks and encourages good design based on programming to interfaces. Spring makes your application easier to configure and reduces the need for many JEE design patterns. Spring puts the OO design back into your enterprise application, and it integrates nicely with many view technologies and the new features of HTML5.
Scheduled Classes
TOP06/05/23 - GVT - Virtual Classroom - Virtual Instructor-Led | |
08/07/23 - GVT - Virtual Classroom - Virtual Instructor-Led | |
10/10/23 - GVT - Virtual Classroom - Virtual Instructor-Led | |
12/04/23 - GVT - Virtual Classroom - Virtual Instructor-Led |
Outline
TOPSession: Introduction to Spring
Lesson: The Spring Framework
- Understand the value of Spring
- Explore Dependency Injection (DI) and Inversion of Control (IoC)
- Different ways of configuring collaborators
- Spring as an Object Factory
- Initializing the Spring IoC Container
Lesson: Configuring Spring Managed Beans
- Introduce Java-based configuration
- The @Configuration and @Bean annotations
- Define bean dependencies
- Bootstrapping Java Config
- Context Injection in Configuration classes
- Using context Profiles
- Conditionally loading beans and configurations
- Bean Life-Cycle Methods
Lesson: Defining Bean dependencies
- Introduce Spring annotations for defining dependencies
- Explore the @Autowired annotation
- Stereotype Annotations
- Qualifying injection points
- Lifecycle annotations
- Using properties in Java based configuration
- The @Value annotation
- Using the Candidate Components Index
Lesson: Introduction to Spring Boot
- Introduce the basics of Spring Boot
- Explain auto-configuration
- Introduce the Spring Initializr application
- Bootstrapping a Spring Boot application
Lesson: Working with Spring Boot
- Provide an overview of Spring Boot
- Introduce starter dependencies
- Introduce auto-configuration
- @Enable... annotations
- Conditional configuration
- Spring Boot Externalized Configuration
- Bootstrapping Spring Boot
Session: Spring AOP
Lesson: Introduction to Aspect Oriented Programming
- Aspect Oriented Programming
- Cross Cutting Concerns
Lesson: Spring AOP
- Spring AOP in a Nutshell
- @AspectJ support
- Spring AOP advice types
- AspectJ pointcut designators
Session: Persistence in Spring
Lesson: Transaction Management in Spring
- Understand Transaction Demarcation within Spring
- Configure the PlatformTransactionmanager
- The @Transactional annotation
Lesson: Spring JDBC
- JdbcDaoSupport - JDBC DAO Implementation
- The jdbcTemplate
- Exception Handling
- Operation Classes
Prerequisites
TOPThis introduction to Spring development course requires that incoming students possess solid Java 8 or later programming skills and practical hands-on Java experience. This class is geared for experienced Java developers who are new to Spring, who wish to understand how and when to use Spring in Java and JEE applications.
Who Should Attend
TOPJava Spring Developers, Application Developers, Full Stack Developers, Technical Managers, Architects.