摘要: 参考博文:http://blog.csdn.net/sun305355024sun/article/details/8553600 阅读全文
posted @ 2015-05-03 14:38 iyjhabc 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 1、topic与virtual topic的区别topic是把一份消息广播给多个客户端,但对于接收这个topic的客户端来说,只能有一个consumer消费这个topic,不能并行消费(而queue可以用多个consumer来并行消费)。virtual topic也是广播消息给多个客户端,但对于客户... 阅读全文
posted @ 2015-04-02 20:08 iyjhabc 阅读(155) 评论(0) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2015-03-31 20:12 iyjhabc 阅读(190) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/env bashBASE_DIR=$(pwd)LIB="${BASE_DIR}/lib/"JAVA_OPTS=" -Xmx2048m -XX:PermSize=64m -XX:MaxPermSize=512m -XX:+PrintGCDateStamps -XX:+PrintG... 阅读全文
posted @ 2015-03-23 19:44 iyjhabc 阅读(9527) 评论(0) 推荐(0) 编辑
摘要: http://blog.jobbole.com/68854/ 阅读全文
posted @ 2015-02-06 17:58 iyjhabc 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1、mysql操作优化http://coolshell.cn/articles/1846.html2、引擎选择http://coolshell.cn/articles/652.html 阅读全文
posted @ 2015-02-06 15:30 iyjhabc 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 依赖的jar包:javax.ws.rs.jarorg.restlet.jarorg.restlet.ext.jaxrs.jarRestletServer.javaimport java.util.HashSet;import java.util.Set;import javax.ws.rs.core... 阅读全文
posted @ 2015-01-26 20:23 iyjhabc 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 使用simpleScheduleimport org.quartz.JobBuilder;import org.quartz.JobDetail;import org.quartz.Scheduler;import org.quartz.SimpleScheduleBuilder;import or... 阅读全文
posted @ 2015-01-21 14:46 iyjhabc 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1、nexus安装与启动Nexus官方下载地址:http://www.sonatype.org/nexus/go,目前最新的版本是2.7.2。Nexu安装非常容易,因为它内嵌了Jetty,只要有JRE救能直接运行。解压Nexu包会得到两个目录nexus-2.7.2-03和sonatype-work,... 阅读全文
posted @ 2014-12-01 19:18 iyjhabc 阅读(789) 评论(0) 推荐(0) 编辑
摘要: 1、ant脚本编写2、sh脚本学习(启动、关闭java程序) 阅读全文
posted @ 2014-12-01 17:28 iyjhabc 阅读(166) 评论(0) 推荐(0) 编辑