随笔分类 -  开源框架

上一页 1 2 3 4 5 6 7 8 下一页
SSH/SSI
log4j配置文件详解---转
摘要:使用步骤注意:1. 从http://logging.apache.org/log4j/1.2/ 下载文件2. 在src目录下加入log4j.properties,将jar包放入build -path,log4j.properties 编译后位于/classes目录下。3. 配置文件读取解析: Pro... 阅读全文
posted @ 2014-11-18 09:13 一天不进步,就是退步 阅读(11028) 评论(0) 推荐(0)
详解 Spring 3.0 基于 Annotation 的依赖注入实现--转载
摘要:使用 @Repository、@Service、@Controller 和 @Component 将类标识为 BeanSpring 自 2.0 版本开始,陆续引入了一些注解用于简化 Spring 的开发。@Repository 注解便属于最先引入的一批,它用于将数据访问层 (DAO 层 ) 的类标识... 阅读全文
posted @ 2014-11-12 16:56 一天不进步,就是退步 阅读(937) 评论(0) 推荐(0)
RabbitMQ和kafka从几个角度简单的对比--转
摘要:业界对于消息的传递有多种方案和产品,本文就比较有代表性的两个MQ(rabbitMQ,kafka)进行阐述和做简单的对比,在应用场景方面,RabbitMQ,遵循AMQP协议,由内在高并发的erlanng语言开发,用在实时的对可靠性要求比较高的消息传递上。kafka是Linkedin于2010年12月份... 阅读全文
posted @ 2014-11-05 12:50 一天不进步,就是退步 阅读(81387) 评论(0) 推荐(0)
How To Cluster Rabbit-MQ--reference
摘要:ForewordThis explanation of clustering Rabbit-MQ assumes that you’ve had some experience with Rabbit-MQ. At least to the point of being able to get Ra... 阅读全文
posted @ 2014-11-04 11:11 一天不进步,就是退步 阅读(325) 评论(0) 推荐(0)
common-httpclient 用户名密码认证示例
摘要:import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.commons.httpclient.DefaultHttpMethodRetryHandler... 阅读全文
posted @ 2014-10-30 11:48 一天不进步,就是退步 阅读(13036) 评论(0) 推荐(0)
RabbitMQ Management HTTP API--官方文档
摘要:IntroductionApart from this help page, all URIs will serve only resources of typeapplication/json, and will require HTTP basic authentication (using t... 阅读全文
posted @ 2014-10-30 10:44 一天不进步,就是退步 阅读(7053) 评论(0) 推荐(0)
使用 Java 配置进行 Spring bean 管理--转
摘要:概述众所周知,Spring 框架是控制反转 (IOC) 或依赖性注入 (DI) 模式的推动因素,而这种推动是通过基于容器的配置实现的。过去,Spring 允许开发人员使用基于 XML 的配置,通过利用应用程序上下文 XML 文件来管理 bean 依赖性。此文件处于应用程序的外部,包含 bean 及其... 阅读全文
posted @ 2014-10-25 22:47 一天不进步,就是退步 阅读(434) 评论(0) 推荐(0)
Spring AOP 实现原理与 CGLIB 应用--转
摘要:AOP(Aspect Orient Programming),作为面向对象编程的一种补充,广泛应用于处理一些具有横切性质的系统级服务,如事务管理、安全检查、缓存、对象池管理等。AOP 实现的关键就在于 AOP 框架自动创建的 AOP 代理,AOP 代理则可分为静态代理和动态代理两大类,其中静态代理是... 阅读全文
posted @ 2014-10-24 15:55 一天不进步,就是退步 阅读(440) 评论(0) 推荐(0)
cas 官方文档
摘要:1. 架构http://jasig.github.io/cas/4.0.0/planning/Architecture.htmlSystem ComponentsThe CAS server and clients comprise the two physical components of th... 阅读全文
posted @ 2014-10-13 14:47 一天不进步,就是退步 阅读(21045) 评论(0) 推荐(1)
Injecting and Binding Objects to Spring MVC Controllers--转
摘要:I have written two previous posts on how to inject custom, non Spring specific objects into the request handling methods of a controller in Spring MVC... 阅读全文
posted @ 2014-10-11 18:34 一天不进步,就是退步 阅读(456) 评论(0) 推荐(0)
Understanding AMQP, the protocol used by RabbitMQ--reference
摘要:RabbitMQ is a lightweight, reliable, scalable and portable message broker. But unlike many message brokers familiar to Java developers, it's not based... 阅读全文
posted @ 2014-10-11 09:55 一天不进步,就是退步 阅读(408) 评论(0) 推荐(0)
基于注解的Spring AOP的配置和使用--转载
摘要:AOP是OOP的延续,是Aspect Oriented Programming的缩写,意思是面向切面编程。可以通过预编译方式和运行期动态代理实现在不修改源代码的情况下给程序动态统一添加功能的一种技术。AOP实际是GoF设计模式的延续,设计模式孜孜不倦追求的是调用者和被调用者之间的解耦,AOP可以... 阅读全文
posted @ 2014-10-09 16:14 一天不进步,就是退步 阅读(84562) 评论(0) 推荐(7)
Spring Remoting by HTTP Invoker Example--reference
摘要:Spring provides its own implementation of remoting service known asHttpInvoker. It can be used for http request than RMI and works well across the fir... 阅读全文
posted @ 2014-09-11 17:20 一天不进步,就是退步 阅读(1472) 评论(0) 推荐(0)
使用 Spring 2.5 基于注解驱动的 Spring MVC--转
摘要:概述继 Spring 2.0 对 Spring MVC 进行重大升级后,Spring 2.5 又为 Spring MVC 引入了注解驱动功能。现在你无须让 Controller 继承任何接口,无需在 XML 配置文件中定义请求和 Controller 的映射关系,仅仅使用注解就可以让一个 POJO ... 阅读全文
posted @ 2014-09-11 15:18 一天不进步,就是退步 阅读(1101) 评论(0) 推荐(0)
Spring中配置和读取多个Properties文件--转
摘要:public class PropertiesFactoryBeanextends PropertiesLoaderSupportimplements FactoryBean, InitializingBeanAllows for making a properties file from a cl... 阅读全文
posted @ 2014-08-05 09:06 一天不进步,就是退步 阅读(30807) 评论(0) 推荐(0)
quartz源码解析--转
摘要:quartz源码解析(一) 、http://ssuupv.blog.163.com/blog//146156722013829111028966/任何个人、任何企业、任何行业都会有作业调度的需求。举几个简单的例子:1、每个月都会发工资,每个月都要报销等;2、每个人每天都要吃饭和睡觉;3、每个公司都有... 阅读全文
posted @ 2014-07-30 17:43 一天不进步,就是退步 阅读(10856) 评论(0) 推荐(4)
Spring 3 + Quartz 1.8.6 Scheduler Example--reference
摘要:In this tutorial, we will show you how to integrate Spring with Quartz scheduler framework. Spring comes with many handy classes to support Quartz, an... 阅读全文
posted @ 2014-07-29 16:21 一天不进步,就是退步 阅读(1072) 评论(0) 推荐(0)
基于 Quartz 开发企业级任务调度应用--转
摘要:Quartz 基本概念及原理Quartz Scheduler 开源框架Quartz 是 OpenSymphony 开源组织在任务调度领域的一个开源项目,完全基于 Java 实现。该项目于 2009 年被 Terracotta 收购,目前是 Terracotta 旗下的一个项目。读者可以到http:/... 阅读全文
posted @ 2014-07-29 12:26 一天不进步,就是退步 阅读(474) 评论(0) 推荐(1)
Spring 3整合Quartz 2实现定时任务--转
摘要:常规整合http://www.meiriyouke.net/?p=82最近工作中需要用到定时任务的功能,虽然Spring3也自带了一个轻量级的定时任务实现,但感觉不够灵活,功能也不够强大。在考虑之后,决定整合更为专业的Quartz来实现定时任务功能。首先,当然是添加依赖的jar文件,我的项目是mav... 阅读全文
posted @ 2014-07-21 18:36 一天不进步,就是退步 阅读(15052) 评论(4) 推荐(1)
Quarts SimpleTrigger going to BLOCKED state after few repeat intervals--stackoverflow
摘要:question:I am using SimpleTrigger to schedule a job which is supposed to run indefinitely (repeat count -1).And i am using JDBC store to persist the j... 阅读全文
posted @ 2014-07-21 11:29 一天不进步,就是退步 阅读(2357) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 下一页