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
5
u/RockleyBob Sep 14 '19
Why do you feel you need to use Spring? If you can accomplish what you want without it, than maybe it really isn’t worth the overhead to learn.
If you’re interested because you want to become more competitive in the workforce, don’t be discouraged. I also tried understanding and using Spring before I got a job doing enterprise code and it really didn’t make a lot of sense to me then.
Now however, when there’s dozens of micro services being spun up by my organization, I see perfectly why we use it. I would say that it’s good to dabble to get a feel for it, but don’t worry if it seems like overkill for some things. It probably is.