|
![]() Asynchronous Events - CDI 2.0 |
|
CDI 2.0 Asynchronous Events IntroductionThis facility allows beans to interact in a decoupled fashion, with no compile-time dependencies between the interacting beans. One bean can define an event, another bean can fire the event, and yet another bean can handle the event. The beans can be in separate packages and even in separate tiers of the application. Events may also be fired asynchronously using one of the methods Description of the ExampleThis example demonstrates the CDI async events APIs. When you click the Start button, an event is fired in the current thread, and the resolved asynchronous observer is called in different a thread. Use This Example |
|
Last updated: @COPYRIGHT_CURRENTYEAR |
|
Home |
Products and Services |
Industries |
Support |
Store |
Partners |
Communities |
About
Copyright @COPYRIGHT_CURRENTYEAR, Oracle and/or its affiliates. All rights reserved.
Contact Oracle