Course : Spring 5: Developing enterprise apps

Spring 5: Developing enterprise apps

Download in PDF format Share this course by email 2


You'll learn how to use the Spring framework to develop modern, robust, scalable applications. You'll learn about reactive programming with WebFlux and how to create HMIs and set up a REST API with Spring, as well as application security with Spring Security.


Inter
In-house
Custom

Practical course in person or remote class

Ref. SPG
Price : 2970 € E.T.
  5d - 35h00




You'll learn how to use the Spring framework to develop modern, robust, scalable applications. You'll learn about reactive programming with WebFlux and how to create HMIs and set up a REST API with Spring, as well as application security with Spring Security.

Teaching objectives
At the end of the training, the participant will be able to:
  • Understand the layers of an N-tier application.
  • Create a REST and MVC web front-end
  • Ensure the persistence of data
  • Secure an application
  • Understand the relationship between Spring and the Java EE APIs

Intended audience
Java/Java EE developers.

Prerequisites
Good knowledge of Java development. Experience in developing enterprise applications is required.

Course schedule

The Spring container

  • Essential components: core, data access, webmvc, webflux.
  • Integration with other technologies.
  • Deployment strategies.
  • Beyond the Spring Framework.
  • Development environment.
  • Design practices.
  • Spring in the Java EE ecosystem.
  • Beyond Spring Framework: security, boot, data.

Bean management with Spring Core

  • Interceptors and aspect-oriented programming.
  • Planned invocations. Profiles. Testing Spring beans.
  • Caching and monitoring with JMX.
  • Breakdown into layers, the POJO approach.
  • State management Dependency injection.
Hands-on work
Creating an n-tier application with Spring Core.

Access to data and transaction management

  • Support for transactions within tests.
  • Spring Data.
  • Couplings with different technologies: JDBC, JPA, NoSQL.
  • Transaction management.
Hands-on work
Implementation of a persistence layer with JPA and Spring.

Packaging and deployment with Spring Boot

  • Automatic configuration
  • The execution environment.
  • Packaging (jar, war, OCI image).
  • Dependency management.
  • Starters.
  • Deployment.
Hands-on work
Create a Spring Boot deliverable from the previously created REST API.

Spring Security

  • Application security.
  • Securing the routes.
  • Choosing a user repository.
  • Authentication modes (session, JWT)
  • Hands-on work
  • Create security for the web project.
Hands-on work
REST API: best practices.

The basics of the HTTP protocol.

  • Setting up a REST API.
  • The Bean validation API.
  • Exception management.
  • Reactive programming with Spring Webflux.
Hands-on work
Develop a web façade that demonstrates the services described above, consumption of RESTful web services by an html/javascript client.

Exchanging messages with Spring Websocket

  • Theory, design patterns, the pub/sub principle.
  • Overview of STOMP and SockJS.
  • Support and fallback mechanisms.
  • Server- and client-side implementation.
Hands-on work
Creating a publish/subscribe mechanism.

Web HMI with Spring MVC

  • Refresher on the MVC pattern.
  • Views: model access, validation, internationalization, exception handling.
  • Validation with the Bean validation API.
Hands-on work
Creating a web application demonstrating the business layer developed previously.


Practical details
Hands-on work
A "common thread" exercise will accompany the training, each step of which will be validated by unit tests.

Customer reviews
4,5 / 5
Customer reviews are based on end-of-course evaluations. The score is calculated from all evaluations within the past year. Only reviews with a textual comment are displayed.


Dates and locations
Select your location or opt for the remote class then choose your date.
Remote class