Stephan van Hulst wrote:You should edit the server-side of the application to return the ID with the rest of the response after it has created the new school.
Stephan van Hulst wrote:What do you mean?
Nathan Milota wrote:Part of the problem I'm having with Spring Boot is that I cannot understand what Spring really is to begin with.
Every tutorial, book, video, website that explains it has something different from a bean, xml files, configurations, etc. None of it seems consistent.
Nathan Milota wrote:Say in my example, I have a Student class, and when a Student is given a Ticket, they have an object of the Ticket class. Those are tightly coupled. How do you use dependency injection there?
Nathan Milota wrote:I'm trying a Udemy course right now that is pretty extensive.
I've been studying it for several days though and still cannot make the connection and that light bulb hasn't really gone off on what Spring really is yet and what the purpose of it, or what dependency injection or IOC really means.
Tim Holloway wrote:In my "Spring In Action" book, parameterized construction is listed as a secondary means of injection.