JSR 299: Contexts & Dependency Injection
In August, we'll explore JSR 299, Contexts & Dependency Injection.
If you've been working with Spring, you can appreciate the flexibility offered by Dependency Injection and Aspect Oriented Programming (AOP). However, robust dependency injection was not available in "out-of-the-box" in the Java Enterprise Edition (JEE) until JEE 6. This capability was defined in JSR-299, once called "Web Beans", but now named Contexts & Dependency Injection (CDI).
In this presentation, we will explore the capabilities offered by CDI, not only in JEE 6, but in a servlet container (i.e. Tomcat) and even in plain ol' Java SE. Specifcially, we will discuss:
- About JSR 299
- CDI Objectives
- Relationship to Other Specs
- Sounds a Lot Like Spring …
- CDI Availability
- CDI By Example
- CDI In Java SE
- Producer Methods
- Interceptors
- Decorators
- Events
- Stereotypes
- Specialization, Inheritance and Alternatives
- Working with JEE Resources
- JEE Integration
- CDI In Tomcat (with JSF 2 examples)
When you leave, you should have a good idea of what role CDI can play in your current and future projects.
Be sure to RSVP via our Meetup page.
Presenter: Jack Frosch
Sponsor: Objistics
Meeting Notes: TBA