From the course: Spring Boot 3 Essential Training

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Building Spring Boot starters

Building Spring Boot starters

- [Narrator] We've been using a lot of different Spring Boot starters. So you may want to know, how do I go about creating my own Spring Boot starter? And the answer is, it's sort of a multi-step process. Once you've executed it once or twice, it actually becomes second nature, and you'll find yourself wanting to create more starters once you realize the power of them, especially when you're building multiple applications within a given system. So the first thing you might ask is, why would I want to create my own starter? And often the answers boil down to the same reasons that we would implement aspects in a traditional Spring application. And that has to do with cross-cutting concerns. Often we have a set of common code, say common logging for our web services, things like that. And then we have a common configuration, the so-called default configuration for that code. By creating a starter for that code and that configuration, we improve the ease of use. And by improving the ease…

Contents