ZK Patterns Demo Application Featuring ZK, Spring and JPA
HTML Java Shell Ruby
Failed to load latest commit information.
.openshift openshift port Apr 21, 2014
cloudfoundry rename mistaken cloudforge folder to cloudfoundry Aug 14, 2012
deployments Creating template Dec 11, 2011
diy Creating template Apr 21, 2014
src upgraded to @SmartNotifyChange Oct 12, 2015
.gitignore bumped to hibernate 4.3.10.Final Jun 13, 2015
Procfile Added clean shutdown hooks to jetty. Jun 16, 2012
README.md ZK 8.0.0 refresh Oct 12, 2015
cloudfoundry.build.and.run.txt rename mistaken cloudforge folder to cloudfoundry Aug 14, 2012
commandline.build.and.run.txt updating openshift for postgres9 Apr 21, 2014
eclipse.indigo.build.and.debug.txt pass through of the documentation May 6, 2012
heroku.build.and.run.txt touch of docs May 13, 2012
manifest.yml Jennifer Hickey suggested $JAVA_OPTS Jul 22, 2012
openshift.build.and.run.txt openshift new diy env variables Apr 21, 2014
pom.xml ZK 8.0.0 refresh Oct 12, 2015


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 8.0.0, Spring 4.0.9.RELEASE and Hibernate 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 https://simbo1905@github.com/simbo1905/ZkToDo2.git

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 commandline.build.and.run.txt for more details on switching to MySQL database. See opensshift.build.and.run.txt 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: