From the course: Spring Boot 2.0 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configuring embedded Tomcat
From the course: Spring Boot 2.0 Essential Training
Configuring embedded Tomcat
- [Instructor] One of the biggest concerns that some organizations have when moving to Spring Boot is how do they configure the servlet container that their application is running in. Many of them have specific requirements on how communications are to operate over a web enabled network. And as such configuring Tomcat is critical in moving into the Spring Boot world. Now, one of the areas that you can configure is in the servlets, filters, and listeners themselves. Now by default Spring Boot will give you a servlet that responds at the context route and is auto configured with many of the defaults that we've come to love. At least those of us that use Spring Boot a lot. That being said, if you want to add your own servlet, or your own filter, or your own listeners then there's a very simple way to do that. And that's to configure the servlets, filters, and listeners as beans. Now, you can do that in one of two ways. 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
-
-
-
-
Understanding Spring Boot dependencies6m
-
(Locked)
Configuring embedded Tomcat5m 6s
-
(Locked)
Employing MVC in Spring Boot2m 1s
-
(Locked)
Thymeleaf templates4m 42s
-
(Locked)
Web application with Spring Boot4m 25s
-
(Locked)
Challenge: Generate an MVC webpage1m
-
(Locked)
Solution: Generate an MVC webpage2m 20s
-
(Locked)
Web services with Spring Boot3m 13s
-
(Locked)
Challenge: Build a web service38s
-
(Locked)
Solution: Build a web service1m 55s
-
-
-
-