Now that you know all the needed Spring basics, let’s focus on web apps and how you use Spring to implement them. You can use all the Spring capabilities we’ve discussed to implement any kind of app. But often with Spring, the applications you implement are web apps. In chapters 1 through 6, we discussed the Spring context and aspects that are mandatory for understanding what comes next in the book (including what you’ll find in this chapter). If you jumped directly to this chapter, and you don’t know yet how to work with the Spring context and aspects, you might find our discussion difficult to understand. I strongly recommend you make sure you know the basics of using the framework before going further.
Spring makes web app development straightforward. We’ll start this chapter by discussing what web apps are and how they work.
To implement web apps, we’ll use a project in the Spring ecosystem named Spring Boot. In section 7.2, we’ll discuss Spring Boot and why it’s essential in app implementations. In section 7.3, we’ll discuss the standard architecture of a simple Spring web app, and we’ll implement a web app using Spring Boot. At the end of this chapter, you’ll understand how a web app works, and you’ll be able to implement a basic web app with Spring.