用个例子来演示什么是DI(Dependency injection)
1.下载spring-framework-2.0.7,在Eclipse加入两个lib: spring.jar和commons-logging.jar
代码:
1.GreetingService.java
2.GreetingServiceImpl.java
3.hello.xml
4.HelloApp.java
java 代码
/**
* @{#} GreetingService.ja ...
1.Expressive Puzzlers
// Odd
public static boolean isOdd(int i) {
return i % 2 != 0;
}
public static boolean&n ...
Develop environment : jdk6 u2 +mysql5.0.45+hibernate-3.2
1.Create a simple table in mysql
sql 代码
CREATE TABLE `sample`.`T_USER` (
`id` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
&nbs ...
How computer store and access data, we should know computer understand two kinds of data files:binary files and test files.
数学
离散数学
程序设计:
Java(主要)
C++/C
C#
数据结构:
Java版
操作系统:
Linux
Windows
编译原理
数据库:
理论
MySQL
Oracle
- 17:41
- 浏览 (254)
- 评论 (0)
UML:
Object-Oriented Analysis and Design with Applications.pdf
Applying UML and Patterns An Introduction to Object-Oriented Analysis and Design and Iterative Development, Third Edition.chm
Reilly_-_Learning_UML_v2.0_Apr_2006.chm
Javascript :
Wiley - JavaScript.Bible.6th.Edition.Ap ...
1.Ebookdy http://www.ebookdy.net/
2.Netyi http://www.netyi.net/
3.itstudy8 http://www.itstudy8.org/
Smartclient http://www.smartclient.com/
Extjs &nbs ...







评论排行榜