![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
wunda
这个作者很懒,什么都没留下…
展开
-
PATH,CLASSPTH,JAVA_HOME 设置
转自于:[url]http://explore.iteye.com/blog/647172[/url]首先介绍一下环境变量的设置方法: (这里以jdk1.6来安装,其他版本一样) 在把jdk安装到计算机中之后,我们来进行设置使java环境能够使用。 首先右键点我的电脑。打开属性。然后选择“高级”里面的“环境变量”,在新的打开界面中的系统变量需要设置三个...原创 2010-09-04 17:56:06 · 78 阅读 · 0 评论 -
Java向数据库中插入大量数据时的优化
[url]http://home.searchfull.net:8080/2422914-java+%E6%95%B0%E6%8D%AE+%E5%BA%93%E4%B8%AD+.html[/url]PreparedStatement ps = null;for(int i = 0; i < 100000; i++) { ps = con.prepareStatement(...原创 2010-09-19 09:41:13 · 349 阅读 · 0 评论 -
tomcat websphere 从数据源中获取链接
public boolean getConnection() { /** * 连接池直接配置tomcat */ try { Context initCtx = new InitialContext(); if (initCtx == null) throw new Exception("没有匹配的上下文环境"); // ...原创 2011-05-17 16:27:32 · 246 阅读 · 0 评论 -
log4j commons-logging
[url]http://nomandia.iteye.com/blog/323353[/url]关键字: log4j commons-logging 一 :为什么同时使用commons-logging和Log4j?为什么不仅使用其中之一? Commons-loggin的目的是为“所有的Java日志实现”提供一个统一的接口,它自身的日志功能平常弱(只有一个简单的 SimpleLog?),...原创 2010-09-27 14:31:51 · 75 阅读 · 0 评论