Migration of existing samples database "HSQLDB" to "MySQL"
Sample tutorial: ZKPetshop2

This sample is from the Book: "ZK™: Ajax without JavaScript™ Framework" chapter8.
But this is tutorial is old versioned because fisheye component in index.zul is old.
So I downloaded from ZK Community
Here we select ZK Forge on SF.net
From this SourceForge.net Repository,we download zkPetShop2.tar.gz

Completed NetBeans Project is here.

Here are change point from original.

   ・ web.xml
    from
     <resource-ref>
     <res-ref-name>jdbc/hsql</res-ref-name>
     <res-type>javax.sql.DataSource</res-type>
     <res-auth>Container</res-auth>
     </resource-ref>
    to
     <resource-ref>
     <description>Visual Web generated DataSource Reference</description>
     <res-ref-name>jdbc/Petshop_MySQL</res-ref-name>
     <res-type>javax.sql.DataSource</res-type>
     <res-auth>Container</res-auth>
     </resource-ref>