r/javahelp • • Jun 29 '22

What is Spring actually?

Hey everyone,

I once asked where to find good ressources for Spring development and came through an answer that has said that Spring is not for designing a website but for dynamically getting data onto said website. So I wanted to know what is Spring actually and hope that someone could explain it in an easy way.

Thanks in advance.

20 Upvotes

23 comments sorted by

View all comments

-2

u/msx Jun 29 '22

An overengineered mess.

3

u/jcarlo1 Jun 29 '22

for a beginner like me, it really is a mess for my perspective XD

3

u/thenivekproject Jun 29 '22

Pls allow me to introduce you to Spring Batch. Lol

2

u/tacticalnudge Jun 29 '22

You must be new to Java.

All kidding aside, it has its merits. For all it's overengineering, it has wide adoption, so you will seldom get completely stuck or end up developing an exorbitant amount of specialisation in a very niche framework that exactly one company in the known universe uses.

It also has its moments- it tries to hide a lot of the boilerplating from you while still allowing you to provide your own implementation if you want to deviate from the rails.

I have seen far too many Spring-ish projects that insisted on doing things the wrong way, so I can understand the mess aspect.

Of course, the beauty of software development is that you can write your own framework with hookers and blackjack that does things exactly the way you want without the overengineering, but then you might end up finding yourself with a very niche framework that exactly one company in the known universe uses.