Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

ZK Patterns Demo Application Featuring ZK, Spring and JPA

branch: master

This is the code for the "ZkToDo2" sample application with ZK, JPA & Spring

Here is the IBM developerWorks article 'Implementing event-driven GUI patterns using the ZK Java AJAX framework'.

Here is the presentation given to the 2011 London ZK Users group.

Here is the presentation of the idea of ZK MVVM given to the 2010 London ZK Users group.

See it in the clouds

Running on the OpenShift PaaS Cloud

Running on the Heroku PaaS Cloud

Running on the Cloudfoundry PaaS Cloud

Getting the source:

git clone

Building and running with default settings of a PostgreSQL database:

mvn -Djetty.port=8080 -DDATABASE_URL=postgres://user:password@localhost/db package jetty:run

within the source code there are config settings for running on mysql db, postgresql db and hsqldb see the for more details on switching to MySQL database.


The line


in file


may or may not create the required database table depending on your database setup. Of course that setting is a bit lazy you can have hibernate generate the sql ddl script and use the local tools to manage your schema for a real app.

More documentation at:

Something went wrong with that request. Please try again.