![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
程序设计
文章平均质量分 72
jingxinren
这个作者很懒,什么都没留下…
展开
-
java线程池访问mysql数据库
使用dbcp,可以通过线程池的方式访问数据库import org.apache.commons.dbcp.BasicDataSource;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;public final class DBConnect { static Log l原创 2009-12-09 17:14:00 · 1905 阅读 · 0 评论 -
httpclient 学习的几点经验
httpclinet 是一个java语言开源包 ,支持通过http协议下载各种文件,具有良好的配置性。详细见:http://hc.apache.org/httpclient-3.x/ 。下面具体例举使用的经验(httpclient3.1):1. 多线程 private static HttpClient hc = null; hc = new HttpClient(ne原创 2009-12-09 16:20:00 · 828 阅读 · 0 评论 -
linux下gdb调试之简单命令使用(一)
最近通读了一下软件调试的艺术(The art of debugging with gdb,ddd,eclipse),总体来说是一般入门级的调试用书。我个人感觉对初学gdb的有一定的作用,有愧于题目art,调试能力的提高必须通过实践。我简单的做个总结,供入门参考。主要讲了gdb的常用命令以及常见bug的调试方法。常用命令:1. 暂停机制 a.断点的使用 设置断点的原创 2010-03-15 16:10:00 · 501 阅读 · 0 评论