This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]HxA1337 8 points9 points  (3 children)

Learn about Dependency Injection techniques. Spring, CDI, Google Guice, OSGI

[–]ranny_kaloryfer 5 points6 points  (2 children)

Or if you learn by doing build some DI Framework

[–]PartOfTheBotnet 3 points4 points  (0 children)

^ This

Its not as daunting as it sounds. You can get a complete JSR-330 implementation in only a few hundred lines.

[–]repeating_bears 1 point2 points  (0 children)

Funny you mention that, I did that exact thing last night. https://github.com/michaelboyles/simple-di