Explore the CDI programming model in ZK

Implement a simple application

From the developerWorks archives

Mr. Sachin Mahajan and Ashish Dasnurkar

Date archived: January 4, 2017 | First published: May 25, 2010

Java™ Specification Request (JSR) 299: Contexts and Dependency Injection (CDI) for the Java EE platform defines a powerful set of services. Services include type-safe dependency injection of Java EE components and an event notification model for allowing interaction between components, which simplifies access to Java EE services from the Java EE Web tier. Essentially, any third-party framework used in the Java EE Web tier can leverage CDI services using a CDI portable extensions mechanism. This article extends a sample application from the article "Rich Internet applications using ZK," and explains how to modify a real-world example using the ZK framework and its integration with powerful CDI services.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Web development, Java development
ArticleID=491872
ArticleTitle=Explore the CDI programming model in ZK
publish-date=05252010