45
Crazed
6y

So I tried to start learning Spring 5

How the fuck do you guys do it? Holy shit.

30 seconds in:

"Spring really isn't hard, you start with this request handler interacting with a view parser..."

Alright, sounds good

2 minutes in:

"So in order to use SpringResponseDriverActionHandlerServiceRequesterService you'll need to import com.org.java.spring.util.driver.comagain.request.response.request.drivers and include this 37 level deep nested XML property and finally extend this abstract class and implement it over an iterable list with this specific annotation aaaaaaand.... Done"

> Hello, world!

"See, spring is easy!"

Comments
  • 3
    jetty/netty are better imho
  • 5
    @calmyourtities I'm a front end dev exploring other tech at my work. I don't have a ton of desire to learn back end on my own lol I kinda liked node but that's about it. Prob just a JS weeb.
  • 1
    @davenall necessarily Haskell though :^)
  • 2
    Go learn java spark, its so much better
  • 3
    Spring Boot was made to get rid of these XML clusterfucks
  • 1
    > Spring 5

    > 37 level deep nested XML

    This doesn't add up
  • 0
    I'm a Java EE dev and I use Spring. I ++ed since I know it's not so easy :D
  • 0
    That really doesn't add up.

    The XML is for wiring up dependencies.
    You can avoid all the XML crap and use declarative wiring. Use Spring Boot if you want auto-magic wiring. But it's always smart to k ow hoe the internals work.

    It really used to be a PITA when I used to work with Spring 3.x and my colleagues loved using XML. Now it's a breeze though.

    It takes a minute to create a web service with Spring Boot.
  • 0
    I call BS. It’s 2018. Extending abstract classes? XML configuration? Whatever that is, it is not a modern Spring style.
  • 0
    @matste maybe I don't know what I'm talking about because I was lost in the tutorial series but it was like 20 minutes of taking in xml before moving on to some java class that I had no idea what it was for
  • 0
    Link the tutorials.

    What technologies are you talking about, exactly?

    The xml stuff might be just Maven or web.xml. Maven kind of sucks, but the alternatives are harder to introduce. web.xml is simply outdated.
Add Comment