Goals
- Master the use of Spring Boot for building web services
Program
Galaxie Spring: presentation,
Spring Core contributions : inversion of control and injection of
Spring Boot dependencies : principle, functionalities, prerequisites
Creation of a project with Spring Initializr
Integration with Maven
Structure of a Spring Boot application: standalone, webapp
The starters , Auto-configuration
Presentation of Spring CLI
Setting up the environment
Running a Spring Boot application via Spring CLI, via STS or Maven
Workshop: Installation of the IDE (Eclipse STS), definition of projects and use of starters
Options for configuration (.properties vs YAML)
ASCII banner
Default properties
Automatic start
Debug, Configuration of traces
Management of hot reloading
Persistence of sessions between restarts
Workshop: configuration of projects (.properties) and management of reloading
JPA: presentation, contributions
Available Providers: Hibernate, Eclipse Link
Configuration of Spring Boot properties
Mapping of entities
Mapping of properties: primary keys, column
Concurrency management: version, lock
Mapping of relations: OneToMany / ManyToOne, OneToOne, ManyToMany
Management of loading collections: lazy vs eager
Inheritance management: strategies, workshop implementation
: mapping of several physical data models
Creation of data access classes: @Repository
Learning the JPA-QL language
Implementation of personalized requests
Use of stored procedures
Organization of application layers: presentation / services / data access
Workshop: Implementation of a complete persistence layer
Use of RestController
Parameter and mapping
management Return type
management Error management
Web service documentation
Workshop: Writing micro-services with Spring web
Header data
management Security
management with Spring Security User and role management.
Workshop: Spring Security Integration
Test strategies, types supported
Application configuration
Mocking of application layers
Self-configured tests
Execution and reporting
Workshop: implementation and execution of tests
Cache
management Log management
Deployment: packaging, execution, profiles, Spring Boot Actuator
Workshop: deployment of micro-services
Jersey API
Using the client class
Managing the sending of parameters and types of returns
Workshop: implementing Java clients for a REST service
Duration
5 days
Price
£ 2975
Audience
Java EE Developers
Prerequisites
- Master object-oriented programming in Java
- Mastery Spring Core
Reference
JAV100901-F
Sessions
Contact us for more informations about session date