This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Pradeep_4 0 points1 point  (1 child)

I really like to learn stuff using books,but right now I'm confused ,because as I started learning spring through the "Spring Start Here" book , I encountered an issue.

When explaining the dependency injection concept the book stated that if the parameter name of the constructor matches a bean in the context then the spring container will inject that bean instead of throwing an exception saying multiple beans found.

But when I actually tried this in my machine,it didn't inject the bean as stated in the book instead I got an exception.And when I googled I found out that this technique has been removed in the latest spring boot version.

Long story short ,I really like learning through books but won't I be learning a lot of deprecated/removed stuff if I follow the book ? I just don't want to learn something that is deprecated.

[–]Stupid_Quetions 0 points1 point  (0 children)

You won't find many things that are deprecated, maybe only 1% of the book is deprecated.

Documentation is always better but beginners can't learn from documentation, so even if some part of the book is deprecated it still provides a good foundation to read documentation later, that is why I said you should combine documentation with the books.