Introducing Jakarta EE CDI

Contexts and Dependency Injection for Enterprise Java Development

  • Luqman Saeed

Table of contents

  1. Front Matter
    Pages i-xiii
  2. Luqman Saeed
    Pages 1-2
  3. Luqman Saeed
    Pages 5-6
  4. Luqman Saeed
    Pages 7-8
  5. Luqman Saeed
    Pages 9-12
  6. Luqman Saeed
    Pages 13-16
  7. Luqman Saeed
    Pages 17-18
  8. Luqman Saeed
    Pages 71-73
  9. Luqman Saeed
    Pages 75-85
  10. Back Matter
    Pages 87-91

About this book


Discover the Jakarta EE Contexts and Dependency Injection (CDI 2.0) framework which helps you write better code through the use of well-defined enterprise Java-based components and beans (EJBs). If you have ever wanted to write clean Java EE code, this short book is your best guide for doing so: you will pick up valuable tips along the way from your author's years of experience teaching and coding. Introducing Jakarta EE CDI covers CDI 2.0 in detail and equips you with the theoretical underpinnings of Java EE, now Jakarta EE.  

This book is packed with so much that by the end of it, you will feel confident to use your new-found knowledge to help you write better, readable, maintainable, and long-lived mission-critical software. 

You will:

  • Write better code with the Jakarta EE Contexts and Dependency Injection (CDI) framework
  • Work with the powerful, extensible, and well-defined contextual life cycle for components
  • Use CDI’s mechanism for decoupling application components through a typesafe event API
  • Build typesafe interceptors for altering the behaviour of components at runtime
  • Harness the well-defined qualifier system for easy isolation of beans
  • Convert almost any valid Java type to a CDI managed bean with CDI’s producer mechanism


CDI Java EE 8 Jakarta EE dependency injection DI context JavaBeans Web Beans WebBeans IoC inversion of control bean managed bean bean model Enterprise JavaBeans EJB Java Eclipse open source

Authors and affiliations

  • Luqman Saeed
    • 1
  1. 1.AccraGhana

Bibliographic information

Industry Sectors
Finance, Business & Banking
IT & Software