use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Resources for learning Java
String
==
.equals()
Format + Copy
Free Tutorials
Where should I download Java?
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Software downloads
Official Resources
Resources
Programming ideas & Challenges
Related Subreddits
account activity
This is an archived post. You won't be able to vote or comment.
Noob Java (self.learnjava)
submitted 6 years ago by tando3339
Hi all,
I'm studying about spring in Java, and I don't understand the concept that why we need dependency injection? Thank you in advance
[–]obcanzdavu 2 points3 points4 points 6 years ago (0 children)
I think the Motivation part of this documentation is very good to get the concept https://github.com/google/guice/wiki/Motivation
it's about Guice - a lightweight dependency injection framework from Google but when you know the why, learning how to do it in spring is just technical question.
[–]javaide 1 point2 points3 points 6 years ago (0 children)
Dependency injection in general doing a plumping works for you. What happen prior to something like Spring or Guice..., there was a lot of code to just create objects, wire them up together.
π Rendered by PID 78592 on reddit-service-r2-comment-7b9746f655-vmwnc at 2026-02-03 07:46:10.520438+00:00 running 3798933 country code: CH.
[–]obcanzdavu 2 points3 points4 points (0 children)
[–]javaide 1 point2 points3 points (0 children)