À la fin du cours, les participants disposeront des connaissances et de la pratique nécessaires pour déployer rapidement leur propre application Spring.
By the end of the course participants will have the necessary knowledge and practice to rapidly deploy their own Spring application.
Ensuite, je vous ferai part d'un retour d'expérience qui sera un exemple concret de l'amélioration des performances d'une application Spring en jouant sur ces différents aspects et en réduisant ainsi les problèmes sous-jacents.
Then, I will share with you a concrete example of improving the performance of a Spring application by playing on these different aspects and thus reducing the underlying problems.
Vous pouvez voir la flexibilité d'application Spring ci-dessus en changeant la valeur de la propriété « message » et en gardant les deux fichiers source inchangée.
You can see the flexibility of above Spring application by changing the value of "message" property and keeping both the source files unchanged.
La @Bean annotation indique Spring qu'une méthode annotée avec @Bean retourne un objet qui devrait être enregistré comme un haricot dans le contexte d'application Spring.
The @Bean annotation tells Spring that a method annotated with @Bean will return an object that should be registered as a bean in the Spring application context.
Cela signifie concrètement que si vous disposez d'une application Spring, alors vous pourrez utiliser Spring MVC pour créer à la fois une couche web HTML et une couche web services RESTful. À propos des extraits de code
What this practically means is that if you have an existing Spring application you can expect to be able to use Spring MVC both for creating an HTML web layer and a RESTful web services layer.
Voici est une illustration du flux (Flow) d'une application Spring dans la cas où vous utilisez 1 ViewResolver.
This is an illustration of the flow of a Spring application if you use a ViewResolver.
Objectif de la publication Normalement, dans une application Spring, vous devez utiliser uniquement une technology pour la couche View, soit Thymeleaf, JSP ou FreeMarker,...
Normally, in a Spring application, you usually need to use only one technology for the View layer, which can be a Thymeleaf, JSP or FreeMarker, etc.
Dans l'application Spring, vous devez créer un Spring-Bean pour MailSender.
In the Spring application, you should create a Spring-Bean for MailSender.
Par exemple, le message d'erreur suivant sera affiché lorsque l'application Spring Boot tente d'utiliser un port déjà en cours d'utilisation
For example, the following error message will be displayed when a Spring Boot application tries to use a port already in use
Comment changer le port pour le serveur dans une application Spring Boot Dans le fichier application.properties La clé de la propriété est server.port et la valeur par défaut 8080 server.port=8080
How to change the server port in a Spring Boot Application In the file application.properties The configuration key is server.port and the default value is 8080 server.port=8080
L'exemple le plus populaire d'une application Spring Boot est celui qui a été posté sur Twitter juste après l'annonce de la sortie publique du framework.
The most popular example of a Spring Boot application is one that was delivered via Twitter shortly following the public announcement of the framework.
Dans cet article, je vous montrerai comment créer une application Spring Boot, concevoir des composants d'interface à l'aide de JSP, et en utilisant Apache Tiles afin de les mettre ensemble pour créer un site complet.
In this post, I am going to show you how to create a Spring Boot application, design interface components using JSP, and use the Apache Tiles to put the interface components together to form a complete site.
L'application Spring Cleaning inclut également les utilitaires de recherche suivants
The Spring Cleaning application includes the following search utilities