Spring Application Configuration
Learn how to configure a Spring application.
We created the Movie Recommender System using Spring Boot. Let’s look at how it can be run using the core features of Spring.
We will remove the dependencies autoconfigured by Spring Boot and replace them with the dependencies needed for a Spring project.
For the code example shown in this lesson, we have created a sub-package called lesson13
inside the package io.datajek.spring.basics.movierecommendersystem
.
The package contains MovieRecommenderSystemApplication.java
, Filter.java
, ContentBasedFilter.java
, CollaborativeFilter.java
, and RecommenderImplementation.java
files.
spring-core
dependency
spring-core
provides the fundamental features of Spring framework like dependency injection and Inversion of Control.
Since we created our application using Spring Initializr, it has the spring-boot-starter
...