Motivation
The CDI integration module offers seamless integration of CDI backend components with GWT client applications. Build as an extension to the Errai core framework, it allows you to transparently access CDI beans while harnessing the power of the core framework: true asynchronous bi-directional communication, a consise programming model and build-in serialization.
Use cases
Beans that are deployed to a CDI container (i.e. JBoss 6) will automatically be registered with Errai and exposed to your GWT client application. Communication between GWT client components and CDI beans can be achieved using RPC style invocations, exposing beans through pub/sub semantics or by wiring up your GWT application with the CDI event subsystem.
Examples
Some examples and typical usage scenarios: