Over a million developers have joined DZone.

ZK CDI, an Open Source CDI Extension

·

ZK have released an open-source CDI extension based on the portable extension mechanism defined in JSR-299 of the Java EE 6 platform. Java EE application developers can now seamlessly leverage both ZK and CDI’s powerful set of features for developing enterprise applications.

In addition to the built in features of CDI, ZK CDI provides the following features:
  • Custom variable resolver/EL resolver
    • The custom variable resolver resolves CDI managed beans within , an EL expression (${...}) and ZK annotated data binding expression (@{…}) using their EL name.
  • ZK custom scopes
    • In addition to built-in CDI scopes such as Session, Request, Application and Conversation this extension provides five additional ZK scopes; Desktop, Page, execution, IsSpace and Component
  • ZK components as managed beans
    • This feature allows developers to inject ZK components into managed beans such as ZK composers
  • UI event handlers using ZK custom annotation and CDI provided event notification model
    • This feature allows developers to annotate any method with ZK custom annotation and turn it into an event handler method.

Other resources
Download ZK CDI 1.0_1RC
Getting started with ZK CDI
Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}