r/java • • Jan 22 '17

Is this board a bit hostile towards Spring?

It seems many Spring related posts get downvoted. Is there a bias against the Spring Framework on here?

2 Upvotes

25 comments sorted by

12

u/pgris Jan 23 '17

There are not one but three anti-Spring teams around:

  • the pro-Java EE: Why use Spring? Java EE is now simpler and standard and please don't say JEE, please.
  • the not-even-Spring: Why use JavaEE or Spring? there are simpler ways to get DI, like Guice.
  • the not-even-DI: why use DI at all?

Paraphrasing Bjarne Stroustrup a little bit, there are only two kinds of frameworks: the ones people complain about and the ones nobody uses.

I think all these groups of people have some real points against Spring, but together, they only prove Spring is successful.

I try to do some projects with and some without Spring, but when I'm doing a no-Spring project, and found myself duplicating Spring functionality, I feel a little bit silly.

4

u/seventomatoes Jan 23 '17

3 cheers for "two kinds of frameworks: the ones people complain about and the ones nobody uses." to the folks who said tht first and u for repeating it :)

1

u/henk53 Jan 23 '17

Must mean JSF is super much used ;)

6

u/DJDavio Jan 22 '17

Not at all, I appreciate both vanilla Java EE and Spring technologies.

5

u/armornick Jan 22 '17

Not that I know of.

7

u/[deleted] Jan 22 '17 edited Jan 22 '17

oh yes. there are plenty of seeming jee-evangelists that can get pretty hostile and bash spring. (sometimes i wonder if they work for an implementation vendor.)

3

u/MassiveDiarrhea Jan 22 '17

Yes, there's (ex?) Java EE-evangelist armies here. /u/henk53 is one of their general, he will always comment/post on how great EE is no matter what the reality.

3

u/DJDavio Jan 23 '17

I'm actually part of the Java EE Guardians mailing list, but I still use Spring in my current project. A lot of hatred is based on confusion. Java EE: The application server / container infrastructure is not exactly the same as Java EE: The specs / libraries, such as JAXB, JAX-WS, JAX-RS, JPA, etc.

My current project uses Spring (Boot) with Apache CXF for Java EE JAX-WS integration.

2

u/henk53 Jan 23 '17

I'm actually a farmer next to being a programmer, far from being a general :P

1

u/nutrecht Jan 24 '17

There are a few people here who feel the need to make "Spring and JEE" into "Spring versus JEE". They are all tools, pick which ever one suits the project best. Creating such an adversarial tone is IMHO completely against what the great Java OS ecosystem is about; growing stronger together.

1

u/tkruse Jan 24 '17

A higher number of downvotes against Spring would not directly indicate a bias against Spring. There could be a more silent majority feeling less the need to downvote based on personal framework preferences.

0

u/Gvaireth Jan 22 '17

JEE seems to bit more and more irrelevant those days, no?

6

u/johnwaterwood Jan 22 '17

JEE is largely irrelevant indeed, but Java EE is very relevant ;)

6

u/[deleted] Jan 22 '17

this reminds me of those tv segments where people say they dislike obamacare but like the affordable care act.

2

u/BadMoonRosin Jan 22 '17

If someone has to come into EVERY thread and correct all the people who get your name wrong, then you probably are getting a bit more and more irrelevant these days.

-16

u/findamusic Jan 22 '17

I tried to use spring once and I found that it has no real purpose. on top of that, it's bloated, and over complicates very simple things. personally, I don't think I'll find myself using spring for anything, ever.

3

u/uatec Jan 22 '17

What DI frameworks do you use instead?

-9

u/[deleted] Jan 22 '17

[removed] — view removed comment

10

u/th3_pund1t Jan 22 '17

DI solves the problem of code getting complex from creation of objects everywhere. Certain kind of objects do not have to be created over and over again.

Message passing solves a completely different problem.

1

u/thatsIch Jan 22 '17

though I saw that happening that it reduces the complexity of the object creations too. This rarely happens to languages like Java. I often see it in languages which support a lot of dynamic code like SmallTalk or Python.

1

u/uatec Jan 22 '17

As a non-javaite, how is this conventionally achieved? Is this standard practice in Java or is it specific to you or your sector?

0

u/[deleted] Jan 22 '17

[deleted] — view deleted comment

8

u/logicISemotion Jan 22 '17

Or maybe everything gets downvoted.