r/javahelp • • Apr 16 '19

Shoutout to Spring developers

You guys who understand and use Spring are gods.

This is the most advanced thing I’ve ever seen, all I get are problems and I haven’t a clue how any of it works and honestly at this point I want to go back to single class console based applications.

And I thought Swing was tricky at first.... HA!

18 Upvotes

15 comments sorted by

View all comments

0

u/[deleted] Apr 16 '19

[deleted]

6

u/[deleted] Apr 16 '19

I hate that stuff, I'm trying to show employers how I can understand and use the language, rather than do some abstract algorithm in the console etc. I'm very curious to see how Spring is used in a professional environment, as every single job listing in London requires Java EE and Spring knowledge.

0

u/[deleted] Apr 16 '19

[deleted]

2

u/[deleted] Apr 16 '19

After a little more thought, I think the thing I'm struggling the most with is the idea of choosing which dependencies to use. Like, is it a case of you just use a few a lot ? Or am I supposed to be able to have an idea for what I need, download that specific dependency then use all the things that dependency makes available to me in my program. That's whats blowing my mind.

3

u/slowfly1st Apr 16 '19

Or am I supposed to be able to have an idea for what I need

Yes.

https://start.spring.io/?

Just use a gradle or maven. If you need another dependency, it's a few lines in your build.gradle/pom.xml, and the IDE will download it and setup the project automatically.

2

u/[deleted] Apr 16 '19

That webpage is a fantastic resource, thank you.

I use gradle and maven, I just find it overwhelming trying to think of what dependencies I could use, theres thousands

0

u/[deleted] Apr 17 '19

[deleted]

2

u/[deleted] Apr 17 '19

Oh really! That gives me a lot of hope lol, this thread has given me a great sense of what kind of dependencies we use now.

At first I thought it was like, a gaming add-on type deal, where’s there’s thousands to choose from and you can’t really see them all etc.

But now I see it’s more about choosing the minimum of what you need, maybe following MVC architecture or something. I’ll take some time today to really study some of the core dependencies like Spring-boot and spring-web etc, and see how they work.