Course Description
Introduction to Spring Boot | Spring Boot Quick Start is a hands-on Spring training course geared for experienced Java developers who need to understand what the Spring Boot is in terms of today's systems and architectures, and how to use Spring in conjunction with other technologies and frameworks. This leading-edge course provides added coverage of Spring's Aspect-Oriented Programming and the use of Spring Boot. 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 Boot 2 , 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.
Course Outline
Session: Introduction to Spring
Lesson: The Spring Framework
- Understand the value of Spring
- Explore Dependency Injection (DI) and Inversion of Control (IoC)
- Introduce 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: Spring Boot 2
Lesson: Spring Boot Actuator
- Understand Spring Boot Actuators
- Work with predefined Actuator endpoints
- Enabling Actuator endpoints
- Securing the Actuator
Lesson: Developing in Spring Boot
- Introduce Spring Boot Devtools
- Enable the ConditionEvaluationReport
- Debugging Spring Boot applications
Lesson: Thymeleaf
- Provide a quick overview of Thymeleaf
- Introduce Thymeleaf templates
- Create and run a Spring Thymeleaf MVC application
Course Objectives
Working in a hands-on learning environment, students will review configuration basics of the Spring framework. The course then moves into Spring Boot, providing in-depth content and experience working with Spring Boot to accomplish a variety of tasks. In addition to working through the Spring Actuator, students work extensively at testing and debugging Spring Boot applications.
Our engaging instructors and mentors are highly experienced practitioners who bring years of current "on-the-job" application development and Spring experience into every classroom. Working in a hands-on learning environment, led by our expert practitioner, students will:
- Explain the issues associated with complex frameworks such as JEE and how Spring addresses those issues
- Understand the relationships between Spring and JEE, AOP, IOC and JDBC.
- Write applications that take advantage of the Spring container and the declarative nature of assembling simple components into applications.
- Understand how to configure the Spring Boot framework
- Understand and work on integrating persistence into a Spring application
- Explain Spring's support for transactions and caching
- Work with Spring Boot to facilitate Spring setup and configuration
- Apply Aspect Oriented Programming (AOP) to Spring applications
- Become familiar with the conditionally loading of bean definitions and Application Contexts
- Understand how to leverage the power of Spring Boot
- Use Spring Boot to create and work with JPA repositories
Course Prerequisites
This 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.
Course Information
Length: 2 day
Format: Lecture and Lab
Delivery Method: n/a
Max. Capacity: 16
Schedule
Contact Us
Do you have more questions? We're delighted to assist you!
Labs
- This hands-on course focuses on "learning by doing", combining expert lecture, practical demonstrations and group discussions with plenty of machine-based real-world programming labs and exercises. Student machines are required.
Who Should Attend
Java Developers, Application Developers, Full Stack Developers, Technical Managers, Architects.