Blog of Adam Warski

Java, Scala, programming, ...

  • Blog of Adam Warski Twitter
  • Blog of Adam Warski Google+
  • Blog of Adam Warski RSS

Primary menu

Skip to primary content
  • Home
  • About me / my projects
  • All Posts

Category Archives: Dependency Injection

MacWire 0.1: Framework-less Dependency Injection with Scala Macros

  • By Adam Warski
  • 4 April, 2013
  • 25 Comments

Using Dependency Injection is almost a standard when developing software. However, in many cases it may seem that using the pattern implicates using a DI container/framework. But is a framework … Continue Reading →


Dependency injection with Scala macros: auto-wiring

  • By Adam Warski
  • 14 March, 2013
  • 9 Comments

You can look at dependency injection as a fancy name for passing parameters to a function (or constructor arguments to a constructor). However usually, DI containers do much more than … Continue Reading →


After Confitura 2011

  • By Adam Warski
  • 13 June, 2011
  • No Comments

Confitura 2011 went past very quickly, it was a great conference and a great occasion to meet with the polish Java community on the SPOINA after-party. During the conference I … Continue Reading →


DI in Scala: Cake Pattern pros & cons

  • By Adam Warski
  • 29 April, 2011
  • 29 Comments

I’ve been looking at alternatives for java-style DI and DI containers which would use pure Scala; a promising candidate is the Cake Pattern (see my earlier blog post for information … Continue Reading →


Ruby on Rails + CDI/Weld on Torquebox example app

  • By Adam Warski
  • 11 March, 2011
  • 2 Comments

For almost a year we’ve been successfully using Torquebox together with CDI/Weld as a base for two of our services: JBison and Circular. As we’ll be doing some presentations together … Continue Reading →


Dependency Injection in Scala: Extending the Cake Pattern

  • By Adam Warski
  • 14 December, 2010
  • 24 Comments

Continuing the mini-series on Dependency Injection (see my previous blogs: problems with DI, assisted inject for CDI and improving assisted inject), I took a look at how DI is handled … Continue Reading →


Improving autofactories/assisted inject

  • By Adam Warski
  • 7 December, 2010
  • 8 Comments

In my two previous posts I wrote about some problems with DI and a solution to part of those problems: assisted inject (as known in Guice)/autofactories (my implementation for CDI). … Continue Reading →


DI and OO: Assisted Inject in CDI / Weld

  • By Adam Warski
  • 26 October, 2010
  • 1 Comment

My last post sparked quite a lot of interest – thanks for all the comments both on the blog and on dzone! Some of them rightly pointed out that the … Continue Reading →


Dependency injection discourages object-oriented programming?

  • By Adam Warski
  • 13 October, 2010
  • 26 Comments

Suppose you have a Product entity and that you want to implement a method which sends the product to a customer (let’s call it ship). For that method to work, … Continue Reading →


Ruby on Rails + CDI? Why not! Enter TorqueBox + Weld

  • By Adam Warski
  • 27 July, 2010
  • 3 Comments

I guess many people are often “unsatisfied” with how JSF works and how much time it sometimes takes to do a simple thing. That’s why we are trying out a … Continue Reading →


  • Previous
  • Next

MOVED


I'm now blogging on SoftwareMill's blog. Please follow me there!

Recent Posts


  • Kafka with selective acknowledgments performance & latency benchmark
  • Why I started learning Emacs in 2016
  • Add a “dependencies” badge & tree to your project using UpdateImpact
  • Event sourcing + free monads = free sourcing?
  • MacWire 2.0: composing modules & cleanup

Links


Follow me on twitter!

Looking for end-to-end software development, project management, Scala experts? SoftwareMill is here to help:
Did you ever have problems with updating or managing dependencies in your Scala/Java/Groovy projects? Check out UpdateImpact!

Interested in weekly Scala news?

The best code-review tool:

Top Posts & Pages


  • Using Scala traits as modules, or the "Thin Cake" Pattern
  • How do iBeacons work?
  • Dependency injection with Scala macros: auto-wiring
  • DI in Scala: Cake Pattern pros & cons
  • JSF2 navigation: post->redirect->get
  • Improving autofactories/assisted inject
  • Dependency Injection in Play! with MacWire
  • Benchmarking SQS
  • Quicklens: traversing options and lists
  • Envers is back from vacations

Categories


Archives


Copyright © 2007-2023 Blog of Adam Warski. All Right Reserved.
Powered by: WordPress | Theme: Simple Catch Pro