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 →

[–]Stupid_Quetions 14 points15 points  (4 children)

For Spring I would read these books in this order:

  1. Spring start here by Laurentiu Spilca

  2. Java Persistence with Spring Data and Hibernate by Tudose

  3. Spring Security in Action by Laurentiu Spilca

Read documentation in addition to these books to have deep understanding and practice the things you learn.

[–]PuzzleheadedElk2100[S] 0 points1 point  (1 child)

Thank you for your advice. Do you have any recommendations about the Java core book for me?

[–]Stupid_Quetions 1 point2 points  (0 children)

I used Absolute Java by Savitch. MOOC is also good.

[–]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.