Skip to content
ZK Patterns Demo Application Featuring ZK, Spring and JPA
Java Shell Perl
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.openshift/action_hooks
deployments
src
.gitignore
LICENSE.txt
Procfile
cloudfoundry.build.and.run.txt
commandline.build.and.run.txt
eclipse.indigo.build.and.debug.txt
heroku.build.and.run.txt
manifest.yml
openshift.build.and.run.txt
pom.xml
readme.md

readme.md

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

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

The apps may shutdown on idle and so may be slow on first request.

Running on the Cloudfoundry PaaS Cloud

Getting the source:

git clone https://simbo1905@github.com/simbo1905/ZkToDo2.git

Building and running with default settings a PostgreSQL database host/db/user/passwd:

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

Note

The line

"hibernate.hbm2ddl.auto=update" 

in file

src/main/webapp/WEB-INF/classes/postgresql.zktodo2.properties 

may or may not create the required database tables 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:

./commandline.build.and.run.txt
./eclipse.indigo.build.and.debug.txt
./opensshift.build.and.run.txt
./heroku.build.and.run.txt
./jboss.build.and.run.txt
Something went wrong with that request. Please try again.