-
The system uses struts+ Spring+ Hibernate framework, focusing on the three combi...
本系统采用struts+spring+hibernate架构,重在讲述三者结合在一起的应用开发,所有源程序都有详细的注释,供入门者学生参考,未经作者允许不得用于商业用途,只能用于教学或个人学习。
程序只是整个系统中的一个模块,用于和各位程序爱好者交流之用。
使用方法:
(1)在oracle数据库中运行数据库脚本文件cnc.sql.
(2)用eclipse(或其它开发工具)直接导入工程.
(3)将spring配置文件applicationContext.xml中数据库连接地址改为您自已的地址。
(4)部署到tomcat服务器中即可运行(jdk1.5以上).
用户名和密码均为:admin
-The system uses struts+ Spring+ Hibernate framework, focusing on the three combined application development, all have detailed source notes, for beginners to students without author permit shall not be used for commercial purposes, can only be used in teaching or individual learning. Procedures for the entire system is only one of the modules, and all procedures for lovers to exchange purposes. Usage: (1) in the oracle database to run the database script file cnc.sql. (2) to use eclipse (or other development tools) directly into the project. (3) spring configuration file applicationContext.xml in the database connection address changed your own address. (4) deployed to the tomca
- 2022-12-07 04:20:03下载
- 积分:1
-
mail application source code two, the more powerful features
应用java发送邮件的源码2个,功能也比较强大-mail application source code two, the more powerful features
- 2023-05-06 09:50:03下载
- 积分:1
-
java
Java 基于tcp的聊天程序
Java 基于tcp的聊天程序-Java-based chat program tcp of Java-based chat program tcp
- 2023-06-20 23:20:04下载
- 积分:1
-
有感应聘Java笔试时可能出现问题及其答案,希望对大家之后笔试有很大帮助...
有感应聘Java笔试时可能出现问题及其答案,希望对大家之后笔试有很大帮助-有 ?杏 | ??Java ?适允 ??赡??鱿治侍???其
- 2023-07-10 09:15:03下载
- 积分:1
-
Java Base64编码库使您的Java应用程序进行编码和解码的Base64字符串和流。...
Java Base64编码库使您的Java应用程序进行编码和解码的Base64字符串和流。-The Java Base64 library enables your Java application to encode and decode base64 strings and streams.
- 2022-06-02 09:26:27下载
- 积分:1
-
UML for Java Programmers中文版 UML 的Java Programmers编程指南
UML for Java Programmers中文版 UML 的Java Programmers编程指南-UML for Java Programmers Chinese version of the Java UML Prog rammers Programming Guide
- 2023-01-18 11:00:03下载
- 积分:1
-
可通过Explice运行,调用Junit测试.正确通过并能有返回的测试结果。...
可通过Explice运行,调用Junit测试.正确通过并能有返回的测试结果。-through Explice operation, Call Junit test. through correct and will be returned to the test results.
- 2023-03-27 00:10:03下载
- 积分:1
-
一个java计算器。
一个java计算器。-a calculator.
- 2022-02-07 10:03:44下载
- 积分:1
-
JUnit, java testing tool
JUnit, java testing tool
- 2022-05-31 19:07:03下载
- 积分:1
-
简介
JavaEE在开发的时候,如果是系统内部常量,一般提倡用枚举常量类,写在单独的类中,但是经常要修改的变量,比如数据源配置,如果存在数据库中,有种浪费。...
简介
JavaEE在开发的时候,如果是系统内部常量,一般提倡用枚举常量类,写在单独的类中,但是经常要修改的变量,比如数据源配置,如果存在数据库中,有种浪费。但是存在TXT中扩展性不好,就笔者观察,一般的程序员都喜欢把经常修改的常量存在xml文件或者properties文件。
存在xml文件最大的好处是扩展性很好,一般用sax或者dom这两个方向的框架,比如DOM4J,JDOM等。Sun推出的JAXM(Java API for XML Messaging)也是用的DOM4J。由于SAX的处理方式类似流媒体,是逐行的,不需要全部加载。而DOM是全部加载在内存,生成树。因而SAX的读取比DOM性能好,但是修改的话DOM略胜一筹。properties文件的扩展性不如xml,但是有很多xml没法实现的优势,比如加密之类的~
Helloworld
笔者根据自己开发中感受,写了一个工具包,用来体现读取xml或者properties的流程,大家在使用的时候记得修改文件路径。一共包含五个文件.本demo主要是用来模拟读取数据库的账户和密码的,读者可以在此基础上扩展。-Brief introduction
JavaEE development at the time, if the system constants are generally used to promote constant enumeration type, write in a separate category, but often want to modify the variables, such as the data source configuration, if the database exist, in one waste. But the existence of bad TXT extension on my observation, the programmers in general are often modified to enjoy the constant existence xml documents or document properties.
Xml files exist to expand the biggest benef
- 2022-06-01 17:25:12下载
- 积分:1