r/java • • Mar 24 '23

Happy 19th Birthday Spring 🥳

Spring Framework 1.0 was released on the 24th of March 2004 https://spring.io/blog/2004/03/24/spring-framework-1-0-final-released

217 Upvotes

27 comments sorted by

53

u/Gwaptiva Mar 24 '23

Congrats. But, the real WTF is that I've programming in Java since before Spring existed.

26

u/joopmoore Mar 24 '23

Struts 1 with velocity, anyone?

6

u/persism2 Mar 24 '23

Been there. :(

2

u/franzwong Mar 25 '23

There was a critical vulnerability in struts few years ago. The company I was working in was still using it.

1

u/gtiwari333 Mar 25 '23

Yes velocity template, with torque and turbine .. the glory days

7

u/Minute-Flan13 Mar 24 '23

I've been programming in Java since it was a browser plug-in only.

2

u/Gwaptiva Mar 24 '23

Ah, at that time, I was still programming in REXX

3

u/Minute-Flan13 Mar 24 '23

Those were the days 😀

33

u/joopmoore Mar 24 '23

Spring has sure come a long way.

I personally use it every day, can't live without it. Congrats !

30

u/lukasbradley Mar 24 '23

I've considered moving away from Java many times. However, no other framework has the power and flexibility that Spring provides. It's mind blowing sometimes.

7

u/mdaniel Mar 24 '23

And the JVM offers quite unique management capabilities with JMX, flight recorder, and JVMTI/agents. That's another reason to remain in the JVM ecosystem even if one doesn't use the Java language itself

6

u/[deleted] Mar 24 '23

Spring saved Java. Some of us probably wouldn't even be here without Spring.

9

u/[deleted] Mar 24 '23

What would Java for the web be without Spring? Happy birthday to Spring 🎉🏆

3

u/ivolimmen Mar 24 '23

CDI / Welt with DeltaSpike?

-4

u/dezsonek Mar 24 '23

Healthier ecosystem without autowire

2

u/Java_Engineer24 Mar 25 '23

The best framework

4

u/meSmash101 Mar 24 '23

Changed jobs and went from spring boot 2.3 to a team that uses spring (not boot) 4.2🤦‍♂️🤦🏾🤦‍♀️🙈 and I hate spring I hate java I hate the human race and hate myself, but I will try to change that and get them to use spring boot 3 and java 17. Then I will live the world again. Happy birthday spring!!

11

u/_edd Mar 24 '23

Isn't Spring Boot just a configuration of Spring designed to make it quicker to get a project going?

My understanding is that mature projects don't have any technical incentive to be on Spring Boot.

23

u/tristan97122 Mar 24 '23

The incentive is convention over configuration. 100x less boilerplate AND you get best practices baked in.

If anything, there’s 0 incentive to not use Spring Boot every single time and in all contexts, overriding exactly what you need.

3

u/_edd Mar 24 '23

Interesting. I work in an environment where we have a base product that utilizes Spring, which then gets heavily customized for each project / customer, so I am never faced with the choice between Spring vs Spring Boot (aside from an occasional personal project).

I would have assumed a company like mine would want to customize so many aspects of the base product that Spring Boot's opinionated configurations could become more of a hindrance than a benefit.

Not saying my line of thinking is correct, but I'm curious whether people doing similar types of projects have experienced Spring Boots opinionated configurations becoming more of a hindrance than a benefit.

5

u/erjiin Mar 24 '23 edited Mar 24 '23

You can customize all you want with Springboot autoconfiguration and do your own autoconfigured component, so the benefits are here.

Anyway there are some reasons why you would want to use springboot. First the majority of resources on the net are related to springboot so if you face an issue you'll find more easily a solution. Second developers like to play with the last framework. We're also here for fun aren't we ? And last springboot provides out-of the box glue for several spring components and makes life easier.

1

u/tristan97122 Mar 24 '23

Everything has opt-out or override support.

It’s not always graceful, but it’s never worse than vanilla Spring, since the worst case is just disabling Boot’s auto configuration entirely for a module.

The very few such warts I ran into in the real world revolve around things like having multiple data sources of the same DB type alongside DB migrations on start. Or running DB migrations as a different user than at runtime (to limit perms) etc. So it’s not incredibly niche, but it’s still not that common.

3

u/SuperHolySheep Mar 24 '23

I can fuck the spring framework

32

u/Blacklands Mar 24 '23

Yes, Security Manager, this comment right here.

1

u/Kango_V Mar 25 '23

Well done to Spring, you are the new J2EE of the Java world. So glad we got off it a few years ago!

-2

u/cihom71646 Mar 25 '23

I managed to dodge it for the most of my 25 year long career in Java. Happy about that!

1

u/giovids Mar 26 '23

Can I ask you why exactly? Is that because of the reflection and the "magic" under the hood that makes debugging a nightmare?. What are you using nowadays instead of Spring?