文件名称:XMLMaterializer
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 525kb
- 下载次数:
- 0次
- 提 供 者:
- 刘*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
本人写的另一个XML实例化小程序,同样也是以前的课程作业,用来将XML文件存储到数据库中(本例是SQL SERVER)的文件。
1. 数据库配置存储在Properties文件中,可以自由配置JDBC连接字符串而无需重新编译。
2. 其中用到了DOM4J来读取和存储XML文件,使用的是微软的JDBC类库。
3. 使用了DAO模式来存储数据库,如果针对不同的数据库可以使用不同的DAO,只需对DAO重新配置即可。-I wrote another small XML instantiation process, the same curriculum is also a previous operation, used to store XML documents into a database (in this case is SQL SERVER) document. 1. Database configuration file is stored in the Properties, you can freely configure the JDBC connection string without having to recompile. 2. DOM4J one of the uses to read and store XML documents, using Microsoft' s JDBC class library. 3. The use of the DAO pattern to store the database, if for different databases can use different DAO, only for DAO can be re-configured.
1. 数据库配置存储在Properties文件中,可以自由配置JDBC连接字符串而无需重新编译。
2. 其中用到了DOM4J来读取和存储XML文件,使用的是微软的JDBC类库。
3. 使用了DAO模式来存储数据库,如果针对不同的数据库可以使用不同的DAO,只需对DAO重新配置即可。-I wrote another small XML instantiation process, the same curriculum is also a previous operation, used to store XML documents into a database (in this case is SQL SERVER) document. 1. Database configuration file is stored in the Properties, you can freely configure the JDBC connection string without having to recompile. 2. DOM4J one of the uses to read and store XML documents, using Microsoft' s JDBC class library. 3. The use of the DAO pattern to store the database, if for different databases can use different DAO, only for DAO can be re-configured.
相关搜索: java解析xml文件,然后把数据存到数
(系统自动生成,下载前可以参看下载内容)
下载文件列表
.classpath
.project
bank-1.dtd
bank.xml
cdcatalog.xml
foodmart.xml
lib
...\dom4j-1.6.1.jar
...\sqljdbc.jar
readme.txt
src
...\advdb
...\.....\Configurator.java
...\.....\dao
...\.....\...\SQLServerDatabaseDAO.java
...\.....\Node.java
...\.....\XMLAttribute.java
...\.....\XMLNode.java
...\.....\XMLProcessor.java
...\xmlapp.properties
...\XMLProcApp.java
.project
bank-1.dtd
bank.xml
cdcatalog.xml
foodmart.xml
lib
...\dom4j-1.6.1.jar
...\sqljdbc.jar
readme.txt
src
...\advdb
...\.....\Configurator.java
...\.....\dao
...\.....\...\SQLServerDatabaseDAO.java
...\.....\Node.java
...\.....\XMLAttribute.java
...\.....\XMLNode.java
...\.....\XMLProcessor.java
...\xmlapp.properties
...\XMLProcApp.java