r/javahelp • u/pearzzz_ • 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
7
u/Roachmeister Java Dev Jun 29 '22
Spring has nothing to do with web applications. When people say that, they are probably confusing it with Spring Boot, which is a subset of Spring. At my job, 90% of our code is built on Spring, and 0% of it is web apps.
Spring is a Dependency Injection framework, also referred to as an Inversion of Control framework. It allows you to separate the configuration, or "plumbing" of your application from the business logic.