Question: [Java] [Spring Framework] Dependency Injection Implement a MovieLister system with the Spring framework . You must provide services for both TabDelimitedMovieFinder and DatabaseMovieFinder. And the
[Java] [Spring Framework] Dependency Injection
Implement a MovieLister system with the Spring framework. You must provide services for both TabDelimitedMovieFinder and DatabaseMovieFinder. And the application are free to choose any finder at runtime.
![[Java] [Spring Framework] Dependency Injection Implement a MovieLister system with the Spring](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f5b9ae6ff16_88666f5b9ae0b39d.jpg)
A MovieLister class is able to list movies with certain characteristics after being provided a database of movies by an instance of MovieFinder.
MovieFinder is an interface; TabDelimitedMovieFinder is a concrete class that can read in a movie database that is stored in a tab-delimited text file.
Hint: drive.google.com/file/d/1TBZsjfdsqc6UdbRGvJYURhbwgWsrX1ol/view?usp=sharing
MovieLister MovieFinder TabDelimitedMovieFinder MovieLister MovieFinder TabDelimitedMovieFinder
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
