Create Spring Configuration File

From Documentation
Create Spring Configuration File


Stop.png 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>



Last Update : 2022/01/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.