white knight

导航

 
上一页 1 ··· 12 13 14 15 16

2013年11月11日

摘要: 首先到http://www.quartz-scheduler.org/downloads/catalog下载工具包将下载包中lib目录下的所有jar包导入到项目中因为quartz依赖log4j,需要编写log4j.propertieslog4j.propertieslog4j.rootCategory=INFO, stdout , R log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout ... 阅读全文
posted @ 2013-11-11 10:35 white knight 阅读(3184) 评论(1) 推荐(0) 编辑
 

2013年11月8日

摘要: 参考http://www.cnblogs.com/zhangjing230/archive/2012/05/09/2489745.html,感谢原作者首先到http://code.google.com/p/msysgit/下载windows版下的git运行Git Bash配置用户名: git config --global user.name "?username?"配置邮箱: git config --global user.email "?xx@xx.com?"设置此项,总是将变化推送到存储库: git config --global push.de 阅读全文
posted @ 2013-11-08 14:02 white knight 阅读(213) 评论(0) 推荐(0) 编辑
 

2013年7月15日

摘要: 最近优化代码,发现第一次调用数据库连接时非常慢,往后便不再发生。经了解,数据库连接是用dbcp管理的,想在网上查找答案,但没有找到。在某人的提醒下决定研究源代码: 部分源代码如下(BasicDataSource.java):protected volatile DataSource dataSource = null; public Connection getConnection() throws SQLException { return createDataSource().getConnection();}protected synchronized DataSource c... 阅读全文
posted @ 2013-07-15 12:58 white knight 阅读(2377) 评论(0) 推荐(2) 编辑
 

2013年7月10日

摘要: 本方法参考 Java核心技术 卷二 (第八版) 中10.6.2节相关内容,特与大家分享,欢迎大家批评指教http://www.webxml.com.cn/http://webservice.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl上面是一个采用Web服务描述语言(WSDL)格式的服务描述文件,作用是查询手机号码归属地jdk中自带了一个wsimport工具,可以自动生成客户端类的集合在cmd中运行wsimport -keep -p com.xx.xx http://webservice.webxml.com.cn/WebServices/M 阅读全文
posted @ 2013-07-10 10:36 white knight 阅读(2205) 评论(0) 推荐(0) 编辑
 

2013年3月21日

摘要: 原地址:http://blog.sina.com.cn/s/blog_52d20fbf0100ofd5.htmlmysql存储过程详解 1. 存储过程简介我们常用的操作数据库语言SQL语句在执行的时候需要要先编译,然后执行,而存储过程(Stored Procedure)是一组为了完成特定功能的SQL语句集,经编译后存储在数据库中,用户通过指定存储过程的名字并给定参数(如果该存储过程带有参数)来调用执行它。一个存储过程是一个可编程的函数,它在数据库中创建并保存。它可以有SQL语句和一些特殊的控制结构组成。当希望在不同的应用程序或平台上执行相同的函数,或者封装特定功能时,存储过程是非常有用的。数据 阅读全文
posted @ 2013-03-21 09:58 white knight 阅读(276) 评论(0) 推荐(0) 编辑
 

2012年11月7日

摘要: { layout : "column", items : [ { columnWidth : ".16", items : [ { xtype : "button", text : "111", handler : function() { } }] }, { columnWidth : ".16", items : [ { xtype : "button", text : "111", handler : function() { ... 阅读全文
posted @ 2012-11-07 15:27 white knight 阅读(145) 评论(0) 推荐(0) 编辑
 
上一页 1 ··· 12 13 14 15 16