Introduction to Spring 5, Spring MVC, and Spring REST – 5 Days
Course Description – Introduction to Spring 5, Spring MVC, and Spring REST
Spring 5 provides an evolutionary advance of Spring’s powerful capabilities. This course introduces these capabilities, as well as providing guidelines on when and how to use them. It includes coverage of the three main configuration styles: Java-based (@Configuration), annotation-based (@Component), and the traditional XML-based configuration that may still play an important role in existing and new projects.
The course starts with in-depth coverage of Spring’s Core module to reduce coupling and increase the flexibility, ease of maintenance, and testing of your applications. It goes on to cover many of the most important capabilities of Spring, including easing configuration with Spring Boot, integrating Hibernate and JPA persistence layers with Spring and Spring Data, and using Spring’s declarative transaction capabilities.
The course includes integration of Spring with Java EE Web applications, a solid introduction to Spring MVC, and coverage of building RESTful resources with Spring MVC. It also provides an overview of Springs reactive programming model for repositories and Web resources.
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 can be made available for all major development environments, including IBM RAD and IntelliJ.
What You Will Learn
- Understand the core principles of Spring, and of Dependency Injection (DI) / Inversion of Control
- Use the Spring Core module and DI to configure and wire application objects (beans) together
- Know the different types of metadata (XML, annotations/@Component, and Java Configuration/@Configuration), and how and when to use them
- Understand and use the complete capabilities of the Core module, such as lifecycle events, bean scopes, and the Spring API
- Use Spring Boot to simplify dependency management and configuration
- Work with the ORM (Object-Relational Mapping) module to integrate Spring with technologies such as Hibernate or JPA.
- Use Spring Data to automatically generate JPA-based repository classes
- Understand and use Spring’s transaction support, including the easy-to-use Java annotation support, as well as the tx/aop XML configuration elements
- Integrate Spring with Java EE Web applications
- Build Web applications with Spring MVC, including configuration using Java config and Servlet 3 capabilities
- Understand and use the core capabilities of Spring’s Reactive programming support
- Understand REST, and use Spring MVC to build RESTful services
- Use Ajax-based front ends with Spring MVC / Spring REST
|Session 1: Introduction to Spring|
Session 2: Configuration in Depth
Session 3: Spring Boot Overview
Session 4: Spring Testing
Session 5: Spring and Spring Data with Hibernate/JPA
|Session 6: Spring Transaction (TX) Management|
Session 7: Spring Web Integration and Intro to Spring MVC
Session 8: Additional Spring MVC Capabilities
Session 9: RESTful Services with Spring
Session 10: Working with JSON and XML
Session 11: Java Clients for RESTful Services
Session 12: Common REST Patterns
Session 13: Additional New Features in Spring 5
[Optional] Session 14: XML Specific Configuration
Hands-on: Minimum 50% hands-on labs
Supported Platforms: Spring 5, Eclipse/Spring Tool Suite (STS), Tomcat, Can be supported on IBM RAD/WAS, and IntelliJ with advance notice and possible extra charge
Other Courses to Explore