To inject or not to inject: CDI is the question

Two weeks ago I did a little tour around several JUGs and conferences to talk about dependency injections with CDI. The final goal of this road movie was to end up at GeeCon in Krakow. It was my second time at GeeCon and I have to say that this conference is like good wine : getting better with age. This community based conference is on its third edition and attracts people through out central and eastern Europe. Plenty of good speakers, nice location, skilled attendees… and a lot of fun (GeeCon organizers are party addicts). So make sure you mark this conference into your agenda for next year.

In the meantime, I have made my slides available. Enjoy and do not hesitate to send me some feedback.

4 thoughts on “To inject or not to inject: CDI is the question

  1. Very good slides – I always appreciate it when slides can be looked at without the speaker and still carry meaning. Although I would have liked to hear “the soundtrack” as well, this is very well structured and niceley presented. Thanks a lot for sharing.

  2. Excellent presetnation. I liked the approach of showing how from simple java object creation we have reached the DI idea , as well as the Qualifiers solution with Enum Class!!

  3. Hi Antonio, I tried creating a stereotype which had qualifiers like the one shown on slide 55 and i got this error: WeldBootstrapBean state=Create: com.google.common.collect.Computat
    ionException: org.jboss.weld.exceptions.DefinitionException: WELD-001103 Cannot declare qualifiers on stereotype interface
    Is it that declared qualifiers can’t be part of a stereotype interface and only @Named can be?

Leave a Reply