Spring Framework and Spring Boot (5 Days)
Spring Framework and Spring Boot (5 Days)
Duration: 5 days
Learn the core principles of Spring, Dependency Injection (DI), and Inversion of Control
Understand the Spring container and API
Integrate Spring with persistence tiers based on JDBC, Hibernate, and JPA
Implement transactions in Spring Applications
Build web application interfaces with Spring MVC
Use Spring as a back-end for Ajax applications
Create Spring MVC-based RESTful web services
Pre-Requisite:
All attendees must have at least one year of full-time Java and JSP development
experience. Prior experience with servlets and JSP is recommended but not required.
Java Developers
Course Contents:
SPRING FRAMEWORK
1. Introduction
2. Spring Introduction
• Shortcomings of Java EE and the Need for Loose Coupling
• Managing Beans, The Spring Container, Inversion of Control
• The Factory Pattern
• Configuration Metadata - XML, @Component, Auto-Detecting Beans
• Dependencies and Dependency Injection (DI) with the BeanFactory
• Setter Injection
3. Dependency Injection
• Using the Application Context
• Constructor Injection
• PropertyEditors
• Factory Methods
• Crucial Namespaces ‘p’ and ’c’
• Configuring Collections
• Bean Definition Inheritance and Collection Merging
• Expression Languages, SpEL
16. WS Security
• Securing JAX-RS
• Authentication
• Authorization
• Authentication and Authorization in JAX-RS
17. RESTful Web Services
• Core REST concepts
• REST support in Spring 4.x
• Use Spring MVC to create RESTful Web services
• REST specific Annotations in Spring
• URITemplates, @PathVariable, @RequestParam
• JSON and XML data exchange
• Client access with HttpClient or RestTemplate
18. Spring Boot
19. Introduction
• The Spring Framework
24. Security
• Security Introduction
• Spring Security Intro
• Spring Security - Custom Configuration Part 1
• Spring Security - Custom Configuration Part 2
• Spring Security Basics
• Spring Security Custom Login Form
• Spring Security and JPA
25. Building REST APIs
• REST API Intro
• HTTP Request Methods (Verbs)
• HTTP Status Codes
• Content Negotiation
• HTTP Clients
• Building A REST API
• REST Components
• Error Handling
• REST Template