Skip to content

Oleander Donovan's IT blog

Some nuggets of wisdom about coding and tweaking software

  • java
  • debian
  • xfce
  • firefox
  • cygwin
  • bash
  • jvm

Tag: dependency injection

Simplest Dependency Injection

diy

Note to self: If you create a Java application and think you need DI but not AOP, then do not automatically reach for containers like Spring, CDI, Guice. Just do all construction and wiring in the standard main method.

Example: https://github.com/odoepner/bagh-chal/blob/master/src/main/java/org/oldo/baghchal/Main.java

Posted on January 17, 2017December 9, 2021 by oldoldoPosted in coding, java, opinionTagged dependency injection, simplicity. Leave a comment

apps bash coding conference css cygwin debian dev-tools eclipse firefox games git gui html intellij java javaone jenkins jquery linux mac os maven music opinion os personal version control virtualbox windows xfce

Recent Posts

  • Install Epson Scan 2 on Debian
  • Use DMZ-Red mouse cursor as default
  • Flexiblere Online-Meetings mit “Gather”

Recent Comments

oldoldo's avataroldo on Install and maintain Cygwin wi…
Ale's avatarAle on Append entries to Windows user…
Blbec's avatarBlbec on Install and maintain Cygwin wi…

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 74 other subscribers
February 2026
M T W T F S S
 1
2345678
9101112131415
16171819202122
232425262728  
« Aug    

Links

  • About me
  • me@github

Meta

  • Create account
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Blog at WordPress.com.
  • Subscribe Subscribed
    • Oleander Donovan's IT blog
    • Join 74 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Oleander Donovan's IT blog
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...