Adopt-a-JSR, first CDI extension

Title: Let’s write our first CDI extension, Adopt-a-JSR series

Abstract:
After we started our adoption activities back in March with a full day workshop on CDI lead by the spec lead himself, it is time for some real action. Our ultimate goal is to help building up the CDI extensions ecosystem. As a first step we’ll look at the process of writing an extension.

In the first part of the workshop we will show you how you can write your own CDI extension to make external APIs look like native CDI. And we will use Apache Kafka as showcase. You will see what the CDI container does under the hood to automatically load Kafka consumers and producers, make them injectable in your code, and hide all the library-specific plumbing code. You will also learn the basic techniques for making your favorite framework portable across all the Java EE containers.

In the second part after the networking break we will work together (or in groups) to add some missing features to the extension. At the end during the after-party we will discuss the future for this and for other possible CDI extensions that you want to write and contribute.

Agenda:

18:30-19:00 Beer and networking
19:00-19:15 Kafka 100…00001
19:15-19:25 Putting CDI on top (or CDI 101)
19:25-20:00 Putting it into a CDI extension (how and why)
20:00-20:30 Beer and discuss next features to implement
20:30-21:30 Implement next features in groups
21:30-23:00 Beer, networking and future plans (we move to a different location for that)

Host: Ivan St. Ivanov

When: 13 December, 18:30

Where: QCLUB (17 Henrik Ibsen Str., 5th floor)