From the course: Practical Test-Driven Development for Java Programmers

Unlock this course with a free trial

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

Understanding the project structure

Understanding the project structure

- [Instructor] So before we do that let's learn a little bit more about the project that we are looking at here. So I've already mentioned that it's a Spring boot application, and actually it's a web application. The idea here is that users will be able to enter some information saying they want to borrow some money, maybe from a bank, and the system calculates how much they are going to have to repay and whether or not they are approved for the loan. Now don't worry if you're not familiar with Spring or even web applications generally, because we don't need much knowledge of these for this chapter, but I am going to explain a couple of basics. Now we're actually interested in this class here called (sound distorts voice) controller. That's where the logic currently sits that we want to have a look at. So just open up LoanCalculatorController and let's look through what's in this class. Now at the top here we have a couple of class level objects which have the annotation autowired…

Contents