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.

Advertisement
Comments
4 Responses to “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. sydisnet says:

    Merci beaucoup pour avoir partagé cette présentation.

  3. 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!!

  4. Anshul says:

    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

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 2,765 other followers