From the course: Complete Guide to Spring MVC
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Running a server - Spring Tutorial
From the course: Complete Guide to Spring MVC
Running a server
- Running a server. With the release of Spring 6 and the upcoming release of Spring 7, running a server in a Spring MVC application is simpler and more robust. It leverages Spring Boot for embedding servers and modern deployment practices. In Spring MVC, you can run your application on either an embedded server or a standalone server. Within our sample application at the beginning of this course, which method did we use? If you guessed embedded server, that's correct We ran directly from our deployment environment using Spring Boot's embedded server, which was Tomcat for us. And I've highlighted here an example of where you see the embedded Turbo Tomcat being called. And the second option, which we did not do, was a standalone server. So this is where you can package your application as a web application archive or WAR and deploy it into an external server like Apache, Tomcat, JBoss, or others. Spring Boot is now the defacto standard for Spring based application, and this makes the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Functional endpoints overview3m 58s
-
HandlerFunction overview6m 12s
-
(Locked)
HandlerFunction: ServerRequest & ServerResponse7m 9s
-
(Locked)
HandlerFunction: Handler classes6m 49s
-
(Locked)
HandlerFunction: Validation5m 45s
-
(Locked)
RouterFunctions and routing5m 7s
-
(Locked)
Serving static resources4m 30s
-
(Locked)
Running a server6m 10s
-
(Locked)
Filtering handler functions5m 50s
-
(Locked)
-
-
-
-
-
-
-
-
-
-