自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 资源 (5)
  • 问答 (10)
  • 收藏
  • 关注

原创 ibatis insert 返回自增主键

英文描述:how ibatis  return the auto increment primary key when insert. 详细解决办法在这里,我验证过,是可用的:http://snowolf.iteye.com/blog/215571 但是看了解决办法后,我不明白@@IDENTITY 以及 SCOPE_IDENTITY()是什么意思。所以又搜索了一下:h...

2015-01-26 17:35:43 279

原创 window清空文件夹脚本 | 清空tomcat下work 、webapp文件夹

清空tomcat下work 、webapp文件夹文件拓展名为 .bat @echo offecho 删除A下所有文件及文件夹,但保留A文件夹for /r D:\apache-tomcat-6.0.18-auth_app2.0\work\ %%i in (.) do if /i "%%i"=="D:\apache-tomcat-6.0.18-auth_app2.0\work...

2014-08-20 14:52:20 247

原创 中序遍历后序遍历 构建二叉树

/** * Definition for binary tree public class TreeNode { int val; TreeNode left; * TreeNode right; TreeNode(int x) { val = x; } } */public class Solution { public TreeNode buildTree(int[] i...

2014-08-05 16:02:14 105

原创 ascII,unicode,utf-8 utf-16,utf-32,BOM 的解说(一) mark

http://blog.csdn.net/fan158/article/details/3729130

2014-03-28 17:53:34 100

原创 java.util.vector 多线程问题及java.util.concurrent包下并发安全原理

1、vector在所有的方法上都加上了synchronized关键字,这样保证了访问vector对象的任何方法时都必须获取对象锁,所以vector保证了不会被多线程同时访问,但是如果我的某个方法这样写: //vector 是全局变量public boolean putIfAbsent() { boolean absent = vector.co...

2014-03-26 10:43:09 303

原创 LinkedBlockingQueue 模拟抢房间座位问题

问题描述: 假设有10个房间,每个房间有5个座位。这些座位可能是空的,也可能坐着人,房间外面有大量   的人等待空位,房间内的人可能随时离开, 因此要不停的扫描房间空位一旦有空的就抢座上去。博客原文地址  http://sprite311.iteye.com/blog/2033655 解决思路:1涉及到多线的安全问题,调查到LinkedBlockingQueue 是java.u...

2014-03-19 17:14:16 168

原创 java多线程最基础的问题及答案(译)

java多线程最基础的问题原文(http://java-success.blogspot.com.au/2011/09/java-multi-threading-interview.html) 1、Q:为什么面试官喜欢问多线程的知识?      A:因为它不简单,而且如果想写出可拓展、高吞吐的系统它是必备的知识。 2、Q:进程和线程的区别?      A:线程是运行...

2014-03-05 12:35:53 99

原创 java中PriorityQueue优先级队列使用方法 mark

http://blog.csdn.net/hiphopmattshi/article/details/7334487

2014-03-04 17:05:39 133

原创 Array.prototype.slice.call(list) mark

参考答案http://stackoverflow.com/questions/7056925/how-does-array-prototype-slice-call-work http://stackoverflow.com/questions/5145032/whats-the-use-of-array-prototype-slice-callarray-0 http:/...

2014-02-11 10:24:18 90

原创 note

spring下载http://repo.spring.io/webapp/search/artifact/?0&q=spring-framework  淘宝的githubhttps://github.com/taobao erp&crm安装http://www.google.com.hk/#newwindow=1&q=Compiere+%...

2013-11-22 12:00:08 86

原创 Java之Socket与HTTP区别 mark

http://blog.csdn.net/way_ping_li/article/details/7948315

2013-10-11 14:36:16 55

原创 继承中的多线程问题。 mark

http://blog.csdn.net/songzheng_741/article/details/7938912 继承中的多线程问题。

2013-10-10 12:39:00 93

原创 zookeeper mark

Zookeeper 从设计模式角度来看,是一个基于观察者模式设计的分布式服务管理框架,它负责存储和管理大家都关心的数据,然后接受观察者的注册,一旦这些数据的状态发生变化,Zookeeper 就将负责通知已经在 Zookeeper 上注册的那些观察者做出相应的反应,从而实现集群中类似 Master/Slave 管理模式 https://www.ibm.com/developerworks...

2013-10-09 14:55:15 66

原创 redis的文章 mark

Redis持久化实践及灾难恢复模拟   http://heylinux.com/archives/1932.html   Redis经验谈(高并发) http://www.programmer.com.cn/14577/ redis入门到精通 江南白衣 redis    https://github.com/springside/springside4/wiki/R...

2013-09-24 10:47:14 69

原创 java concurrent

围绕concurrent的文章很多,多看看对于多线程高并发的解决有好处http://www.cnblogs.com/aurawing/articles/1887056.html

2013-09-22 16:17:10 136

原创 maven tomcat eclipse

m2eclipsehttp://www.cnblogs.com/cbf4life/archive/2010/01/29/1659502.html 纯apache maven,不用ide构建项目:http://www.oracle.com/technetwork/cn/community/java/apache-maven-getting-started-1-406235-zhs...

2013-09-05 11:26:13 59

原创 blog mark

技术普及帖:你刚才在淘宝上买了一件东西http://blog.renren.com/share/1008228562/11138179294 淘宝技术这十年:讲述淘宝技术架构发展和淘宝精神http://blog.sina.com.cn/s/blog_633219970100x9cc.html p1到p7:一个屌丝的成长http://blog.sina.com.cn/...

2013-08-29 15:20:23 65

原创 image gallery 轮播图

google 搜索jquery image gallery另外github上也有些jquery实现的例子 新发现的一个 演示:  http://js.itivy.com/jiaoben1223/index.html                      下载:   http://js.itivy.com/?p=669...

2013-08-28 10:20:58 134

原创 jquery插件mark

弹层插件1:http://thrivingkings.com/read/Apprise-The-attractive-alert-alternative-for-jQuery2:http://malsup.com/jquery 图表插件highCharts 简介 http://www.cnblogs.com/evenvi/archive/2013/03/01/2938675...

2013-08-20 10:37:16 141

原创 tomcat优化

http://passover.blog.51cto.com/2431658/732629

2013-07-24 18:57:33 60

原创 javascript blog recommend js foundation

讲的比较好 通俗易懂 js的基础知识http://www.oschina.net/translate/create-advanced-web-applications-with-object-oriented-techniques

2013-07-10 15:21:31 67

原创 排序算法 mark

http://www.cnblogs.com/kkun/archive/2011/11/23/2260312.html

2013-07-05 10:19:45 89

原创 cookie cross domain

关于cookie的基础知识http://zh.wikipedia.org/wiki/Cookie 需关注的点cookie的expires  setdomian setpath cookie存在跨域访问的问题http://wenku.baidu.com/view/881a4adba58da0116c174932.html 淘宝天猫cookie跨域的实现ht...

2013-06-26 18:30:10 67

原创 js 实现图片预加载 (js操作 Image对象属性complete ,事件onload 异步加载图片)

http://hi.baidu.com/mataofq/item/c50b97cc6b0e7a3845941673可见js操作html,可以实现很多有用的功能

2013-06-20 11:08:31 504

原创 java读取properties文件的方法

1:使用apache.commons组件。 需要使用jar包:commons-configuration-1.3.jar,commons-lang-2.3.jar,commons-collections.3.2.jar,commons-logging.jar public class ConfigReader { private static ConfigReader in...

2013-06-14 14:57:50 105

原创 bootstrap html css 框架 包含一些jquery类库

最近了解到一个开源前端框架,如果前端不怎么精通,可以使用它来搭建前端css、htmlbootstrap: html css 框架 包含一些jquery类库中文网站:http://www.bootcss.com/getting-started.html#examples英文网址:http://twitter.github.io/bootstrap/getting-st...

2013-06-14 13:45:50 270

原创 tomcat的work目录作用

[quote]用tomcat作web服务器的时候,部署的程序在webApps下,这些程序都是编译后的程序。tomcat有一个work目录,里面存放了页面的缓存,访问的jsp都会编译,编译后的文件都会存储在work目录下。而tomcat显示的目录,都会从这个缓存里找编译后的jsp对应的class文件。所以当清空了work目录后,该过程将会从新来过。 有的时候会遇到一...

2013-06-05 09:37:19 106

原创 java中的BitSet学习 (转)

http://blog.csdn.net/feihong247/article/details/7849317

2013-05-03 09:56:31 125

原创 源码解读Mybatis List列表In查询实现的注意事项

http://www.blogjava.net/xmatthew/archive/2011/08/31/355879.html

2013-04-19 16:09:16 74

MahoutInAction中文版(最全的)

MahoutInAction中文版(最全的)

2013-07-10

精通正则表达式 中文扫描版

精通正则表达式 中文扫描版 本人觉得书很不错 所以分享给大家

2013-07-10

最新的jmeter (可靠的压力测试软件)

最新的jmeter (可靠的压力测试软件)

2013-04-08

IBM FTE总结

FTE的配置及基本操作 IBM FTE是传输文件的目前最可靠高效的工具 需要MQ的支持

2011-11-07

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除