摘要:
使用场景:测试时需要插入100w的数据,跑sql脚本插入非常慢。存储过程如下://DELIMITERDROP PROCEDURE if EXISTS createAmountCount;create PROCEDURE createAmountCount()BEGINDECLARE i int;se...
阅读全文
posted @ 2015-04-27 15:22
一天不进步,就是退步
阅读(1044)
推荐(0)
摘要:
0 概述 spring提供了一个jms集成框架,这个框架如spring 集成jdbc api一样,简化了jms api的使用。 jms可以简单的分成两个功能区,消息的生产和消息的消费。JmsTemplate类用来生成消息和同步接受消息。和其它java ee的消息驱动样式一样,对异步消息,spring
阅读全文
posted @ 2015-04-27 11:42
一天不进步,就是退步
阅读(19329)
推荐(2)
摘要:
原文地址:http://www.tutorialspoint.com/design_pattern/service_locator_pattern.htmThe service locator design pattern is used when we want to locate various...
阅读全文
posted @ 2015-04-25 13:47
一天不进步,就是退步
阅读(503)
推荐(0)
摘要:
原文地址:http://java.dzone.com/articles/gradle-goodness-set-javaIf we want to set an explicit encoding for the Java compiler in Gradle we can use the opti...
阅读全文
posted @ 2015-04-25 12:25
一天不进步,就是退步
阅读(669)
推荐(0)
摘要:
原文地址:http://www.oracle.com/technetwork/java/servicelocator-137181.htmlContextService lookup and creation involves complex interfaces and network opera...
阅读全文
posted @ 2015-04-25 10:34
一天不进步,就是退步
阅读(283)
推荐(0)
摘要:
原文地址:http://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.htmlHAProxy: Cornerstone of Reliable WebsitesOne primary goal of the i...
阅读全文
posted @ 2015-04-23 18:22
一天不进步,就是退步
阅读(580)
推荐(0)
摘要:
原文地址:http://dev.mysql.com/doc/refman/5.7/en/memory-storage-engine.htmlTheMEMORYstorage engine (formerly known asHEAP) creates special-purpose tables w...
阅读全文
posted @ 2015-04-23 17:41
一天不进步,就是退步
阅读(2235)
推荐(0)
摘要:
0 概述 spring-messaging模块为集成messaging api和消息协议提供支持。 其代码结构为: 其中base定义了消息Message(MessageHeader和body)、消息处理MessageHandler、发送消息MessageChannel。 1. base模块 其结构如
阅读全文
posted @ 2015-04-23 10:50
一天不进步,就是退步
阅读(25618)
推荐(0)
摘要:
原文地址:http://simlegate.com/2013/10/17/stomp-specification-1.2/摘要STOMP是一个简单的可互操作的协议, 被用于通过中间服务器在客户端之间进行异步消息传递。它定义了一种在客户端与服务端进行消息传递的文本格式.STOMP已经被使用了很多年,并...
阅读全文
posted @ 2015-04-23 09:35
一天不进步,就是退步
阅读(8372)
推荐(0)
摘要:
概述 Logback建立于三个主要类之上:日志记录器(Logger),输出端(Appender)和日志格式化器(Layout)。这三种组件协同工作,使开发者可以按照消息类型和级别来记录消息,还可以在程序运行期内控制消息的输出格式和输出目的地。 1.日志记录器(Logger):控制要输出哪些日志记录语
阅读全文
posted @ 2015-04-22 17:00
一天不进步,就是退步
阅读(29961)
推荐(1)