November 2018
Intermediate to advanced
346 pages
6h 43m
English
In this chapter we will take a look at the basic features of Spring Boot.
To get a starting point, use the Spring Initializr to create a project. No additional dependencies are required, just a Spring Boot project.
You want Spring Boot to use your class as a bean.
Depending on your needs, you can either leverage @ComponentScan to automatically detect your class and have an instance created; use it together with @Autowired and @Value to get dependencies or properties injected; or you can use a method annotated with @Bean to have more control ...
Read now
Unlock full access