上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 229 下一页
摘要: 原文地址:http://www.cnblogs.com/amosli/p/4067665.html 在使用eclipse进行整合springmvc时经常会碰到这样的异常: java.lang.ClassNotFoundException:org.springframework.web.context 阅读全文
posted @ 2016-07-27 09:33 一天不进步,就是退步 阅读(406) 评论(0) 推荐(0)
摘要: spring提供了对echache、guava、jcache的支持,先看一个echache的示例: 其中 echache.xml文件如下: 缓存的使用: 参考文献: 【1】http://www.mkyong.com/spring/spring-caching-and-ehcache-example/ 阅读全文
posted @ 2016-07-22 16:26 一天不进步,就是退步 阅读(1952) 评论(0) 推荐(0)
摘要: 原文地址:http://www.concretepage.com/spring-4/spring-4-reactor-integration-example Reactor is a framework to make event driven programming much easier. Th 阅读全文
posted @ 2016-07-21 09:25 一天不进步,就是退步 阅读(2147) 评论(0) 推荐(0)
摘要: 原文地址:http://www.baeldung.com/spring-async 1. Overview In this article we’ll explore the asynchronous execution support in Spring – and the @Async anno 阅读全文
posted @ 2016-07-19 17:32 一天不进步,就是退步 阅读(1446) 评论(0) 推荐(0)
摘要: Spring框架提供了TaskExcutor的异步执行和TashScheduler的任务定时执行接口,同样spring也提供了线程池或者CommonJ的代理。 TaskExecutor的类型 SimpleAsyncTaskExecutor,没有复用线程,当触发时仅仅启动一个新的线程。支持并发。 Sy 阅读全文
posted @ 2016-07-19 08:53 一天不进步,就是退步 阅读(2515) 评论(0) 推荐(0)
摘要: 原文地址:http://www.jianshu.com/p/ad40e6dd3789 作为一名程序员,你几乎每天都会使用到GitHub上的那些著名Java第三方库,比如Apache Commons,Spring,Hibernate等等。除了这些,你可能还会fork或Star一些其他的开源库,但Git 阅读全文
posted @ 2016-07-18 14:08 一天不进步,就是退步 阅读(2377) 评论(0) 推荐(0)
摘要: 1. @Scheduled 可以将一个方法标识为可定时执行的。但必须指明cron(),fixedDelay(),或者fixedRate()属性。 注解的方法必须是无输入参数并返回空类型void的。 @Scheduled注解由注册的ScheduledAnnotationBeanPostProcesso 阅读全文
posted @ 2016-07-18 09:32 一天不进步,就是退步 阅读(16259) 评论(0) 推荐(0)
摘要: 看一下源码整体: 抓住主要点,Environment、PropertyResolver、PropertySource,其结构如下: 其中, Environment:Interface representing the environment in which the current applicat 阅读全文
posted @ 2016-07-15 15:25 一天不进步,就是退步 阅读(469) 评论(0) 推荐(0)
摘要: 原文地址:http://dockone.io/article/482 【编者的话】本系列的第一篇介绍了微服务架构模式。它讨论了采用微服务的优点和缺点,除了一些复杂的微服务,这种模式还是复杂应用的理想选择。当你决定将应用作为一组微服务时,需要决定应用客户端如何与微服务交互。在单体式程序中,通常只有一组 阅读全文
posted @ 2016-07-15 10:59 一天不进步,就是退步 阅读(6141) 评论(2) 推荐(0)
摘要: 1. handler的定义 spring websocket支持的消息有以下几种: 对消息的处理就使用了Handler模式,抽象handler类AbstractWebSocketHandler.java 具体实现handler类BinaryWebSocketHandler(为例,其它略) 2.han 阅读全文
posted @ 2016-07-15 10:24 一天不进步,就是退步 阅读(12510) 评论(0) 推荐(0)
上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 229 下一页