Usage of CDI in Oracle ADF - Part III - CDI Events
Hi, I will bring some serie of posts about CDI usage within Oracle ADF: Usage of CDI in Oracle ADF - Part I - Introduction. Usage of CDI in Oracle ADF - Part II - Enabling and using CDI. Usage of CDI in Oracle ADF - Part III - CDI Events In this post I want to introduce an example of the usage of CDI Events (Synchronous and Asynchronous) to enhance your Oracle ADF Skills. The example contains the CDI Events Synchronous and Asynchronous implementation. However, as commented in previous posts , WebLogic 12.2.1.3 is shipped with CDI 1.0 which is not compatible with Asynchronous Events introduced in 2.0 ). https://github.com/DanielMerchan/adf The application is based on a Pokemon Battle where attacking takes a period of time before it completes the attack. Each Pokemon Attack is an Event which is processed Synchronous or Asynchronus depending on the attack selected. Which are the important parts in the example? In the example you can find: PokemonAttack.java : T...