r/SpringBoot • • May 13 '23

I love springboot

I seriously love springboot its been a month i have started learning spring framework and springboot. i didn't know springboot is that powerful, i didnt know things are ez pz, for example implementing OAuth, microservices, testing... i used to hate java but now because of springboot i love it, i hated boilerplates (constructor, setter,getter...) but with lambok ez pz. i want to know what thing made you like spring?

23 Upvotes

25 comments sorted by

3

u/xplosm May 14 '23

If you are using Lombok just for POJOs you might as well try the new Java Records. No need to download and configure IDEs and enable annotation preprocessing.

1

u/CreeDanWood May 14 '23

yes man you are right i use them, but lombok gives more features like it has @builder annotation.

3

u/Pozbliz-00 May 15 '23

Now use Kotlin and be really happy. I also hated java, switched to Ruby then, and finally to kotlin+spring boot

2

u/CreeDanWood May 17 '23

I'm not sure about kotlin, because where i work they are using java. but for my personal use i might try. thankss

1

u/Pozbliz-00 May 17 '23

Well, sometimes work and companies tend to fear "new" frameworks and jvm languages...

There are companies who want to work with JSP because they fear the magic of spring 🌱...

1

u/smokemonstr May 26 '23

There’s a cost to adopting a new language. You have to train people. Some companies may not see a benefit in doing so.

Personally, I’d love to try Kotlin at work, but I don’t foresee a switch from Java.

1

u/Pozbliz-00 May 26 '23

What java version do you use? Even big companies can/should have the time to migrate, many do, but I get that e.g. insurance companies tend to be more conservative about that

1

u/smokemonstr May 26 '23

We’re in the process of upgrading to 17

2

u/greglturnquist May 14 '23

I have a little channel as well: https://youtube.com/@SpringBootLearning

1

u/CreeDanWood May 14 '23

Thanks, i actually watch your videos too, they are great and enjoyable , keep going <3

2

u/gaurav_lm May 14 '23

I have been using spring & spring boot since 4 months I love to learn from people have a lot more experience.

subbed!

2

u/kaly-7 May 18 '23

Springboot is awesome man 🥳

1

u/CreeDanWood May 18 '23

indeed it is

2

u/[deleted] May 13 '23

Lambook just act as a cherry on cake in spring boot. Like using required all arg constructor annotation. Just declairing members final takes care of making constructor and an bean injection , i love it

1

u/CreeDanWood May 14 '23

yess dude its really cool

1

u/nonFungibleHuman May 15 '23

I wonder how long is it gonna take for spring boot to incorporate virtual threads. I started looking aside, Helidon w/nima looks promising.

1

u/CreeDanWood May 17 '23

it really will be cool seeing virtual threads in springboot.

0

u/microprogram May 14 '23

never liked springboot but due to project requirements i was forced to learn java.. coming from .net java was hell.. lombok helps but i feel like the api was way too slow compre to .net core.. but it is what it is.. i liked the logging features of spring though.. i tried jdbc for db stuffs but client wants jpa.. i even showed then benchmarks same api different frameworks.. tried also showing jdbc vs jpa stuffs.. springboot is way too slow and has a large mem footprint.. tried all the tweaks google can give me.. even replaced tomcat with undertow.. nada... its might be possible that i lack experience since i just started a month ago.. but yeah i like intellij and rider

2

u/CreeDanWood May 14 '23

speed is not the only thing in development tho, and if everything was about speed I'm sure netflix wouldn't pick springboot. idk so much about .net but all i know its not matured as spring nor stable as spring. now everything is distributed and built using architectures like microservices i dont think speed is an issue anymore. they scale everything horizontally easily.

1

u/Ruin-Capable May 14 '23

Jpa isn't necessarily slower than straight jdbc if you avoid doing things like (n+1) selects.

1

u/Ellegaard839 May 14 '23

How have you been learning if you don’t mind sharing?

0

u/[deleted] May 13 '23

[deleted]

2

u/CreeDanWood May 14 '23

I haven't used aws cloud yet😅, nor non relational db. but for the security i used this : for jwt : link for the oauth i watched this masterpiece link for testing there is a guy i watched his courses github link of the guy he also has aws videos related.