Create Spring Configuration File
From Documentation
This documentation is for an older version of ZK. For the latest one, please click here.
Define bean definitions in applicationContext.xml file, and put it into your WEB-INF directory.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="DataSource" class="test.DataSourceImpl"/>
</beans>