Alternative 1: Bundle ZK into Your Web Application

By copying ZK libraries to your Web application (WEB-INF/lib), you can deploy your Web application to any Web or application server without configuring the server.

To bundle ZK libraries with the WAR file (the Web application)

  1. Uncompress zk-bin-3.0.7.zip or zk-bin-3.0.7.tar.gz

  2. Copy dist/lib/*.jar, dist/lib/zkforge/*.jar, and dist/lib/ext/*.jar to the /WEB-INF/lib directory in your Web application.Libraries in dist/lib/zkforge and dist/lib/ext are optional. If you want to minimize the footprint of your Web application, refer to the next chapter for the description of these libraries.

To bundle ZK libraries with the EAR file (the Java EE application)

  1. Uncompress zk-bin-3.0.7.zip or zk-bin-3.0.7.tar.gz

  2. Copy dist/lib/*.jar, dist/lib/zkforge/*.jar, and dist/lib/ext/*.jar to the root directory in your Java EE application.Libraries in dist/lib/zkforge and dist/lib/ext are optional. If you want to minimize the footprint of your Web application, refer to the next chapter for the description of these libraries.