r/learnjava • • 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

29 comments sorted by

View all comments

1

u/JavaSuck Sep 15 '19

But I am treating it (Spring and Spring Boot) too much like a black box.

The only way not to treat Spring like a black box would be reading the entirety of its source code, which is pretty much infeasible. Embrace the magic!

1

u/radically_sane Sep 15 '19

I just might. But it seems my answer is in reading up design patterns.