Spring設定ファイル
・applicationContext.xml
web.xml の中の<context-param>タグの中で任意で指定する。
WEB/INF/classes/ 直下がデファクト?
JDBC (DBアカウント等)設定ファイル
・datasource.properties
ファイル名は任意。datasource.propertiesやjdbc.propertiesなど。
applicationContext.xmlの中の<context:property-placeholder>でパスを定義する。
applicationContext.xmlの中の<bean id="dataSource">タグでこのプロパティファイルの中で指定したDB情報をDAOjavaBeanクラスとバインドする。
iBasic連携設定
・sqlMapConfig.xml
applicationContext.xmlの中の<bean id="splMapClient">タグで任意のパスを指定。
iBasisでのSQL文が書かれたxmlファイルパスを列挙する。