Java Spring 入门笔记 正在写
1)官方网站
在学习一个技术前直到官方网站是极为必要的,官方网站不但提供安装介质,而且有一手的技术参考资料。闲话简说 http://www.springsource.com/。 以前曾用过springframework.org,不知道为什么要改了名字。
2)经典参考书
有人推荐过Spring In Action, 我自己是从Spring Reference开始读的。
3)流行的版本
Spring 2.0, released in October 2006, and Spring 2.5, released in November 2007.
4) Java SE and Java EE Support
The Spring Framework continues to be compatible with all versions of Java since (and including) Java
1.4.2. This means that Java 1.4.2, Java 5 and Java 6 are supported, although some advanced functionality
of the Spring Framework will not be available to you if you are committed to using Java 1.4.2. Spring 2.5
introduces dedicated support for Java 6, after Spring 2.0's in-depth support for Java 5 throughout the
framework.
Furthermore, Spring remains compatible with J2EE 1.3 and higher, while at the same time introducing
dedicated support for Java EE 5. This means that Spring can be consistently used on application servers
such as BEA WebLogic 8.1, 9.0, 9.2 and 10, IBM was 5.1, 6.0, 6.1 and 7, Oracle OC4J 10.1.3 and
11, JBoss 3.2, 4.0, 4.2 and 5.0, as well as Tomcat 4.1, 5.0, 5.5 and 6.0, Jetty 4.2, 5.1 and 6.1, Resin 2.1,
3.0 and 3.1 and GlassFish V1 and V2.
NOTE: We generally recommend using the most recent version of each application server generation. In
particular, make sure you are using BEA WebLogic 8.1 SP6 or higher and was 6.0.2.19 / 6.1.0.9
or higher, respectively, when using those WebLogic and was generations with Spring 2.5.
As of Spring 2.5, support for JDK 1.3 has been removed, following Sun's official deprecation of JDK 1.3 in late
2006. If you haven't done so already, upgrade to JDK 1.4.2 or higher.
If you need to stick with an application server that only supports JDK 1.3, such as was 4.0 or 5.0, we
recommend using the Spring Framework version 2.0.7/2.0.8 which still supports JDK 1.3.
相关文档:
Java, .Net发展方向和前景
JAVA语言发明已有10年历史,在IBM、SUN等公司的推动下已经比较稳定与成熟,获得了大规模企业的普遍应用。时至今日,J2EE已经发展成为一个覆盖面广,效率高,易用性强的技术平台,吸引了400万开发者,在网络技术遍及全球的的今天,更有17.5亿台设备使用JAVA技术.同时, Mustang版本的J2EE正在紧锣 ......
请不要把你的学习Java之路和其它计算机技术分开看待,技术的联系往往是千丝万缕的,你应该掌握一些学习Java所涉及的基础知识,对于 “CLASSPATH要怎么设置啊”、“跪求JDK下载地址”等等问题,你不该问,因为Internet上太多答案了,甚至换个角度说,你是不是还不适合直接学习编程?
1)买本Java学习用 ......
定时器类Timer在java.util包中。使用时,先实例化,然后使用实例的schedule(TimerTask task, long delay)方法,设定指定的任务task在指定的延迟delay后执行。定时器任务类TimerTask是抽象类,继承并重写其run()方法,可实现具体任务。
schedule(TimerTask task, Date time)设定指定任务task在指定时间time执行。
cancel ......
1,一行代码做一件事,不要在一行代码里面处理多件事。宁愿多声明几个变量,也要保持代码的清晰,因为代码的声明并不会占多少内存。
例如:
String tmpa = errIdList.get(i).toString().substring(2);
......
Java代码
final TC[] ts = new TC[20];
for (int i = 0; i < ts.length; i++) {
......