cdi-events-playground icon indicating copy to clipboard operation
cdi-events-playground copied to clipboard

Demonstrates the capabilities of Java EE CDI events

CDI Events Playground

Sample project for CDI Events overview article.

Running it

  1. Git clone the repository
  2. Run Maven goal wildfly-swarm:run
  3. Visit http://localhost:8080/ in your browser

Done ! WildFly Swarm will scan the project and automatically download all the parts necessary to run the application. No interaction required. The download phase only occurs during the first run. During the process, an in-memory H2 database is started.

test

Logging note

The result of the events fired is visible in console. Standard output is used directly instead of a logger.