Skip to content


Subversion checkout URL

You can clone with
Download ZIP
ZK Patterns Demo Application Featuring ZK, Spring and JPA
HTML Java Shell Ruby
Branch: master
Failed to load latest commit information.
cloudfoundry rename mistaken cloudforge folder to cloudfoundry
diy Creating template
misc Creating template
src bumped to hibernate 4.3.10.Final
.gitignore bumped to hibernate 4.3.10.Final
Procfile bumped to hibernate 4.3.10.Final touch of docs
manifest.yml Jennifer Hickey suggested $JAVA_OPTS openshift new diy env variables

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

This is the sourcecode project from the white paper Implementing event-driven GUI patterns using the ZK Java AJAX framework.

Tested against Java8, ZK 7.0.3, Spring 3.2.13 and Hiberante 4.3.10.Final

See it in the clouds

Running on the OpenShift PaaS Cloud

Running on the Heroku 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:port/db package jetty:run

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


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.