Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Using CDI Events

Header Image

  1. What are CDI events?
    • The article explains what CDI events are and how they are used to communicate between components in a loosely-coupled, type-safe, and modular way in a Java EE application.
  2. How to use CDI events
    • This article explains how to use CDI events in Java to communicate between components in an application in a loosely coupled manner, including firing an event using the Event interface and listening for events using the @Observes annotation.
  3. Explanation of the @Observes annotation
    • This article explains how to use the @Observes annotation in CDI to specify a method that should be called when a particular event is fired.

Table of contents