ZK Developer's Guide
ZK Developer's Guide
ZK Developer's Guide
- TAGS
- guide
- iknow.seforge.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
auEngine<br />
<br />
org.zkoss.zk.au.http.DHtmlUpdateServlet<br />
<br />
<br />
<br />
auEngine<br />
/zkau/*<br />
<br />
[ 39 ]<br />
Chapter 1<br />
Configuration of zk.xml<br />
The zk.xml file is an optional file, and stays in the WEB-INF/ folder on the same<br />
level as web.xml. As the above overview has shown, there are many settings, which<br />
already have default values. The purpose of the zk.xml file is to extend, or overwrite<br />
existing settings for <strong>ZK</strong> application. A list of these settings is given in the Appendix A.<br />
Deployment<br />
The deployment via Ant or any other IDE integrated tools is rather simple. Just copy<br />
the <strong>ZK</strong> distribution under WEB-INF/lib and that's it. If you wish to optimize the<br />
distribution you may omit the libraries you didn't use like dojoz or timeline.<br />
Deployment of <strong>ZK</strong> Applications with Maven<br />
If you like to work with Maven (http://maven.apache.org) it takes a little bit<br />
more effort. This is because of the rapid rate of releases in <strong>ZK</strong>; sometimes the Maven<br />
repositories have a bit of a delay in publishing. The most famous Maven repositories<br />
include the <strong>ZK</strong> framework, i.e. http://repo1.maven.org/maven2. The structure of<br />
the <strong>ZK</strong> framework in a Maven repository looks like:<br />
As the illustration shows the <strong>ZK</strong> framework within the Maven repository has three<br />
different groupIDs:<br />
•<br />
•<br />
•<br />
org.zkoss.common<br />
org.zkoss.zk<br />
org.zkoss.zkforge