- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 spring 框架最基本的功能就是充当创建对象的工厂
spring 框架最基本的功能就是充当创建对象的工厂其具体步骤如下:(1)读取并分析spring配置文件(2)通过java的反射机制,创建并且集成上述配置文件中定义的对象(3)将创建的对象传回给开发者的应用代码。因此,开发者不需要再编写工厂类spring 的ioc实现方式:通过两个接口来完成:(1)BeanFactory 位于org.springframework.beans.factory包中。
2005-07-09 17:00:00
1536
原创 Struts uses a Model 2 architecture
Struts uses a Model 2 architecture. The Struts ActionServlet controls the navigationalflow. Another Struts class, the Action, is used to access the business classes.When the ActionServlet receives a r
2005-06-23 14:59:00
974
原创 Spring+Hibernate+Struts技术的一个分页程序,转载
Spring+Hibernate+Struts框架: http://blog.youkuaiyun.com/chinarefers/archive/2005/01/25/267077.aspx这是我的DAO的核心代码 import org.springframework.orm.hibernate.support.HibernateDaoSupport; // 用Spring支持的Hibernate方
2005-06-15 10:39:00
904
原创 利用Spring执行和配置schedule程序(转)
创建一个TimerTask类的扩展类public class CheckEmailAddresses extends TimerTask {private List emailAddresses;public void setEmailAddresses(List emailAddresses) {this.emailAddresses = emailAddresses;}
2005-06-15 10:34:00
924
原创 用几行代码实现排序 (转载)
摘要:经常看见有人还在不厌其烦的用冒泡(最常见!)或是交换做排序,实际上用几行代码就可以既快又好地实现排序,不论是简单类型还是类,数组还是Java聚集(Collection)。 简单类型的排序简单类型不外是byte, char, short, int, long, float, double等数据类型, 这些类型不能放在聚集中,只能使用数组。java.util.Arrays方法提供
2005-06-15 10:32:00
914
原创 人生的目标(摘自人生成功的35个黄金法则第一条目标)
贾金斯式的人永远不会成功 一个坚定地向目标迈进的人,整个世界都会为他让路。 中国有句老话:有志之人立常志,无志之人常立志。我觉得非常有道理。 如果你想在35岁之前成功,一定要吸取别人的教训,做事一定要专注,要以贾金斯为鉴。 美国一位成功学家讲述了这样一个故事: 在好多年前,当时有人正要将一块木板钉在树上当搁板,贾金斯便走过去管闲
2005-06-07 09:31:00
4035
转载 让你的struts能处理日期类型http://blog.youkuaiyun.com/chensheng913/archive/2004/08/13/74032.aspx
http://blog.youkuaiyun.com/chensheng913/archive/2004/08/13/74032.aspx
2004-08-13 20:24:00
1121
转载 java 打印 http://blog.youkuaiyun.com/chensheng913/archive/2004/08/13/74050.aspx
http://blog.youkuaiyun.com/chensheng913/archive/2004/08/13/74050.aspx
2004-08-13 20:23:00
1033
原创 struts controller components
provides a centraiized point of control for the application where all client requests can be processed first.the controller is able to provide common functionality such as security,logging,and othe
2004-08-13 20:20:00
716
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人