ZK Framework version 8 MVVM Pattern. CRUD Transaction Proof of Concept Sample Project.
This is the improved version with alternative pattern from previously ZK MVVM CRUD sample project.
-
Java Platform:
- Java: JDK 8u121
-
Framework Stack:
- Spring Framework: 4.3.9.RELEASE
- Hibernate Framework: 4.3.11.Final
- Hibernate Validator: 5.4.1.Final
- ZK Framework: 8.0.2.2CE
- For detail information about library & its version view
pom.xml
file.
-
Dependency Management & Build System:
- Maven: 3.x
-
Database:
-
Project Setup & IDE:
- Used Spring Java Configuration (alternative to Spring XML Config)
- Used only (pure) ZK MVVM Style on CRUD transaction.
- Used Hibernate Validator Framework as the implementation of Java Bean Validation JSR-303.
- Used Hibernate bidirectional association One-To-Many for Model.
- Browse list data have search feature that used
onChanging
oronKeyPress
like event. - Delete data have its popup confirmation.
- Applied Template Pattern into several generic class, in order to have a more clean code & scalability application.
- Used Bootstrap3 (experimental) for some
zul
components.
- Install NetBeans IDE version 8.2, please ensure you also have installed its bundle Apache Tomcat and activate Maven feature. If you're advanced user, feel free to use any other IDE (Eclipse, IntelliJ IDEA, etc).
- Off course, you need to
git clone
this project into your local storage. - Unless, you have been working with
maven
and have all the libraries that state above in your local cache. You need a reliable internet connection on first attemp, in order to download all the dependencies. You can runBuild with Dependencies
on NetBeans. - You dont need to install a database engine prior run the application. I used only a portable SQLite3 file, find it at this location:
/src/main/webapp/WEB-INF/classes/zkmvvmcrud8.db
. You can use any compatible Database Editor to directly connect to that file. And feel free to explor. - Usually, it has came with sample data. But If you would like, I also prepared the populate script for init data. Please find out at this classpath:
com.mkdika.zkmvvmcrud8.cli.PopulateInitData
. Just run thisdriver class
. - Finally, you can simply run this sample application with NetBeans
run
options.
For online demo please visit this Site.
- Try to search with google or stackOverFlow first, most of your questions supposed to be asked by others.