Coder Social home page Coder Social logo

zktodo2's Introduction

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.1, Spring 3.2.8 and Hiberante 3.6.10

See it in the clouds

Running on the OpenShift PaaS Cloud

Running on the Heroku PaaS Cloud

Getting the source:

git clone https://[email protected]/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 hsqldb 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.

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 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:

./commandline.build.and.run.txt
./eclipse.indigo.build.and.debug.txt
./opensshift.build.and.run.txt
./heroku.build.and.run.txt
./cloudfoundry.build.and.run.txt

zktodo2's People

Contributors

simbo1905 avatar dennischen avatar

Watchers

Rahul avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.