ZK and JBoss Team Up for Enteprise Solution

The Complete Server-Centric Solution Age Has Come

Why Server-Centric?

  • Richness
  • Simplicity
  • Extensibility

A Complete Web Enterprise Solution

Contents
  1. JBoss
  2. ZK
  3. ZK and JBoss Team Up!

JBoss, a division of Red Hat, is the global leader in open source middleware software, combining enterprise-class JBoss Enterprise Middleware open source software with the industry’s leading services and tools to provide simply a better way to transform your business to Service-Oriented Architecture (SOA).

zk

ZK is an open source Web development framework that enables Web applications to have both rich user experiences and low development cost as you did for years in desktop applications. ZK includes an Ajax-based event-driven engine to automate interactivity, a rich set of XUL and XHTML components to enrich usability, and a markup language to design user interfaces without programming. With ZK, you represent your application in feature-rich XUL and XHTML components, and manipulate them by listening to events triggered by users, as you did for years in desktop applications. All your application codes are running at the server, while the visual representations of components and user activities at the browsers are automatically synchronized by ZK.

ZK Architecture

ZK delivers the intuitive desktop programming model to Web applications with event-driven, component-based, and server-centric architecture. In addition, ZK provides the modern development of UI technologies, such markup languages to design UI without programming, scripting languages to change applications on fly, annotations and data-binding to access databases and Web services without programming.

Team Up !

Web Interface Description
ZK ZK includes an Ajax-based event-driven engine to automate interactivity, a rich set of XUL and XHTML components to enrich usability, and a markup language to design user interfaces without programming.
ZK JSF ZK Framework to add Server-Centric AJAX functionality to JSF web applications.
 
Programming Model Description
ZK Seam Integrate ZK with Seam to provide ZK component with Seam's context including EJBs and JavaBeans.
ZK + Hibernate Integrate ZK with Object/relational persistence and query service, Hibernate.

ZK JSF

Introduction

JSF (JavaServer Faces), a technology simplifies building user interfaces for JavaServer applications. Compare to JSF with ZK, both are UI component framework on JavaServer application, JSF is page base solution and ZK has different way on ajax base. It seems you can’t choose both JSF and ZK in one page and cooperated together. But now, ZK provides a set of JSF components which wrap ZK components, and implement the features of JSF like ValueBinding, Converter, Validator, etc. In this article we will demonstrate you how to use ZK JSF Component.

Use ZK JSF Components to enrich your JSF Application – a conference room reservation demo

In this demonstration, we show you a mixed usage on ZK JSF Components with ajax and page submitting. First JSF page provides a form to reserve a conference room. When you change the conference room you can see the content changed directly by ajax, and you can popup a quick query window to know what time of the conference room is free.

When you submit the first page, it checks/processes the data in the JSF way. If failed, return to the first page and show you the failing reason. If passed, the submitted data is updated to a backing bean and forwarded to second page which show you the information in backing bean. You can run this demo on the Conference Room Reservation Example in the zkjsf-demo. The runtime result will be like below.

Demo

Read more on this topic

ZK Seam

Introduction

JBoss Seam is a powerful application framework for build web applications by unifying and integrating JSF, Ajax4jsf, EJB3 etc. Although Seam is powerful, but it is binding the presentation layout with JSF and Ajax4jsf.

Now, we provide a way to integrate ZK with Seam, so you can use ZK component to cooperate with Seam's context includes EJBs and JavaBeans. In this article, we will show you a "SayHello" example by Seam first, and then we will show you two examples which base "SayHello" but use ZK to replace JSF.

The examples in ZK are highly depend on ZK's Data Binding mechanism. You can learn more about Data Binding at here and new feature of annotation for Data Binding in ZK 2.4 here

Live Demo

Read more on this topic