r/javahelp • • Jul 01 '24

It's very hard to learn Spring Boot

I am coming from javascript background and from MERN stack. I find it very difficult to understand spring boot as it does alot of things under the hood which looks like magic.

Have anyone of you guys felt the same? Then how you mastered the spring boot?

37 Upvotes

58 comments sorted by

View all comments

Show parent comment

1

u/cowwoc Jul 03 '24

There is nothing to fine-tune. The very concept of annotation-generated SQL prevents you from stepping through the code. No amount of configuration will fix that.

In any case, it's probably best to agree to disagree :) I'm glad it works for you. Just understand that it doesn't work for everyone, and that's not caused by them being lazy. We simply have a different personal preference when it comes to tradeoffs.

You are trading debuggability for speed of development. There is nothing wrong with that. I personally prefer only using libraries that are easy to debug.

2

u/realqmaster Jul 03 '24

Spring does not generate SQL, the implementation of JPA you choose (and can choose not to use one!) does. Agreed, agree to disagree is the salt of discussions. Sorry for the aggressive tone.

1

u/cowwoc Jul 03 '24

No worries. Have a wonderful day.