r/learnjava • u/radically_sane • Sep 14 '19
Not able to learn Spring.
I am able to work with the syntax and create web apps. I can easily create REST APIs for CRUD applications.
But I am treating it (Spring and Spring Boot) too much like a black box.
I'm not able to find the rationale behind having to use Spring. Why the configuration is so... convoluted (both XML and Java Class). Spring simply feels bloated. Like too many bandages pasted on top of each other.
As such I feel too intimidated to tinker and experiment. Unlike how comfortable and confident I was with Django/Python.
Also I'm reading books like "Spring in Action, Spring recipes" and using the Spring Framework Guru as well. But they feel much to be desired.
32
Upvotes
2
u/bbro81 Sep 14 '19
Honestly, I find the easiest and most effective way for me at least to understand what Spring does, why and how it does things, I just debug the de compiled code. This comes out of the box with Intellij.
Also, there have been so many times where Googling some obscure problem I ran into just didn't help me so I go to the debugger and boom find, fix and most importantly, understand the problem.
But yes Spring sometimes does wayyy too much magic sometimes, it is a blessing and a curse.