随笔分类 -  spring及其源码分析专辑

上一页 1 2 3 4 5 6 下一页
仅为业余分析研究spring之用
Example of BeanFactoryAware in Spring--转
摘要:原文地址:http://www.concretepage.com/spring/example_beanfactoryaware_spring If a bean in spring implements BeanFactoryAware then that bean has to implemen 阅读全文
posted @ 2016-06-03 10:30 一天不进步,就是退步 阅读(312) 评论(0) 推荐(0) 编辑
spring aop源码实现分析
摘要:1. 先分析Advice before执行Cglib2AopProxy的intercept方法: 第一步:获取target 第二步:获取拦截器和advice,返回定义好的org.springframework.aop.framework.adapter.MethodBeforeAdviceInter 阅读全文
posted @ 2016-05-30 10:19 一天不进步,就是退步 阅读(4564) 评论(0) 推荐(1) 编辑
基于@AspectJ配置Spring AOP之一--转
摘要:原文地址:http://tech.it168.com/j/2007-08-30/200708302209432.shtml 概述 在低版本Spring中定义一个切面是比较麻烦的,需要实现特定的接口,并进行一些较为复杂的配置,低版本Spring AOP的配置是被批评最多的地方。Spring听取这方面的 阅读全文
posted @ 2016-05-27 10:20 一天不进步,就是退步 阅读(1335) 评论(0) 推荐(0) 编辑
spring remoting源码分析--Hessian分析
摘要:1. Caucho 1.1 概况 spring-remoting代码的情况如下: 本节近分析caucho模块。 1.2 分类 其中以hession为例,Hessian远程服务调用过程: Hessian远程服务调用过程 1.2.1 客户端 BurlapProxyFactoryBean,BurlapCl 阅读全文
posted @ 2016-05-18 10:58 一天不进步,就是退步 阅读(1529) 评论(0) 推荐(0) 编辑
Hessian 原理分析--转
摘要:原文地址:http://blog.csdn.net/zhtang0526/article/details/4788879 一. 远程通讯协议的基本原理 网络通信需要做的就是将流从一台计算机传输到另外一台计算机,基于传输协议和网络 IO 来实现,其中传输协议比较出名的有 http 、 tcp 、 ud 阅读全文
posted @ 2016-05-13 09:41 一天不进步,就是退步 阅读(368) 评论(0) 推荐(0) 编辑
Spring Remoting: Remote Method Invocation (RMI)--转
摘要:原文地址:http://www.studytrails.com/frameworks/spring/spring-remoting-rmi.jsp Concept Overview Spring provides four ways to develop remote services. Remot 阅读全文
posted @ 2016-05-11 13:00 一天不进步,就是退步 阅读(399) 评论(0) 推荐(0) 编辑
Spring Remoting: HTTP Invoker--转
摘要:原文地址:http://www.studytrails.com/frameworks/spring/spring-remoting-http-invoker.jsp Concept Overview In the earlier articles we saw an introduction to 阅读全文
posted @ 2016-05-11 09:47 一天不进步,就是退步 阅读(1160) 评论(0) 推荐(0) 编辑
Spring Remoting: Burlap--转
摘要:原文地址:http://www.studytrails.com/frameworks/spring/spring-remoting-burlap.jsp Concept Overview In the earlier tutorials we saw an introduction to Sprin 阅读全文
posted @ 2016-05-11 09:44 一天不进步,就是退步 阅读(783) 评论(0) 推荐(0) 编辑
Spring Remoting: Hessian--转
摘要:原文地址:http://www.studytrails.com/frameworks/spring/spring-remoting-hessian.jsp Concept Overview The previous tutorial presents an overview of spring re 阅读全文
posted @ 2016-05-11 09:41 一天不进步,就是退步 阅读(627) 评论(0) 推荐(0) 编辑
spring源码分析之spring-web remoting模块概况及基本概念
摘要:spring-web总体分为三部分:caucho、httpinvoker、jaxws,其总体构造图如下: uml结构: 先看看网上搜索到的上述实现的原理吧:Spring RMI,Hessian/Burlap,HttpInvoker的区别 http://blog.csdn.net/arkblue/ar 阅读全文
posted @ 2016-05-11 08:46 一天不进步,就是退步 阅读(2282) 评论(0) 推荐(0) 编辑
spring websocket源码分析
摘要:什么是websocket? 摘录于wiki【1】: WebSocket is a protocol providing full-duplex communication channels over a single TCP connection. The WebSocket protocol wa 阅读全文
posted @ 2016-03-28 19:29 一天不进步,就是退步 阅读(7698) 评论(2) 推荐(0) 编辑
spring jdbctemplate源码跟踪
摘要:闲着没事,看看源码也是一种乐趣! java操作数据库的基本步骤都是类似的: 1. 建立数据库连接 2. 创建Connection 3. 创建statement或者preparedStateement 4. 执行sql,返回ResultSet 5. 关闭resultSet 5.关闭statement 阅读全文
posted @ 2015-06-07 15:46 一天不进步,就是退步 阅读(6286) 评论(0) 推荐(1) 编辑
spring transaction源码分析--事务架构
摘要:1. 引言 事务特性 事务是并发控制的单元,是用户定义的一个操作序列。这些操作要么都做,要么都不做,是一个不可分割的工作单位。通过事务将逻辑相关的一组操作绑定在一起,以便服务器 保持数据的完整性。事务通常是以begin transaction开始,以commit或rollback结束。Commint 阅读全文
posted @ 2015-05-08 08:26 一天不进步,就是退步 阅读(32722) 评论(4) 推荐(5) 编辑
spring源码分析之spring-jdbc模块详解
摘要:0 概述 Spring将替我们完成所有使用JDBC API进行开发的单调乏味的、底层细节处理工作。下表描述了哪些是spring帮助我们做好的,哪些是我们要做的。 工作模式 使用Spring进行基本的JDBC访问数据库有多种选择。Spring至少提供了三种不同的工作模式:JdbcTemplate, 一 阅读全文
posted @ 2015-05-06 08:48 一天不进步,就是退步 阅读(13960) 评论(1) 推荐(4) 编辑
spring源码分析之spring-jms模块详解
摘要:0 概述 spring提供了一个jms集成框架,这个框架如spring 集成jdbc api一样,简化了jms api的使用。 jms可以简单的分成两个功能区,消息的生产和消息的消费。JmsTemplate类用来生成消息和同步接受消息。和其它java ee的消息驱动样式一样,对异步消息,spring 阅读全文
posted @ 2015-04-27 11:42 一天不进步,就是退步 阅读(19116) 评论(2) 推荐(2) 编辑
spring源码分析之spring-messaging模块详解
摘要:0 概述 spring-messaging模块为集成messaging api和消息协议提供支持。 其代码结构为: 其中base定义了消息Message(MessageHeader和body)、消息处理MessageHandler、发送消息MessageChannel。 1. base模块 其结构如 阅读全文
posted @ 2015-04-23 10:50 一天不进步,就是退步 阅读(25139) 评论(0) 推荐(0) 编辑
spring源码分析之spring-web web模块分析
摘要:0 概述 spring-web的web模块是更高一层的抽象,它封装了快速开发spring-web需要的基础组件。其结构如下: 1. 初始化Initializer部分 1.1 Servlet3.0 的ServletContainerInitializer用来支持基于代码的servlet容器配置,它使用 阅读全文
posted @ 2015-04-21 11:55 一天不进步,就是退步 阅读(7561) 评论(0) 推荐(0) 编辑
spring4.x注解概述
摘要:1. 背景 注解可以减少代码的开发量,spring提供了丰富的注解功能,因项目中用到不少注解,因此下定决心,经spring4.x中涉及到的注解罗列出来,供查询使用。 2. spring注解图 2.1 spring-context模块的注解图 2.2 spring-web注解 2.3 spring其它 阅读全文
posted @ 2015-04-16 16:12 一天不进步,就是退步 阅读(38741) 评论(67) 推荐(14) 编辑
spring源码分析之spring-web http详解
摘要:spring-web是spring webmvc的基础,它的功能如下: 1. 封装http协议中client端/server端的request请求和response响应及格式的转换,如json,rss,xml等。 2. 远程调用包括jaxws、caucho、httpinvoker 3. web相关的 阅读全文
posted @ 2015-04-14 11:57 一天不进步,就是退步 阅读(7346) 评论(2) 推荐(1) 编辑
spring core源码解读之ASM4用户手册翻译之一asm简介
摘要:第一章:ASM介绍 第一章:ASM介绍 1.1 ASM动机: 程序的分析,生成,转换技术可以应用到许多场景: 1.程序分析,从简单的语法解析到完整的语义分析,可以应用在程序中找到潜在的bug,发现无用的代码,工程代码的逆向等等。 2.代码生成应用在各种编译器中:既包括传统的编译器也包括分布式编程的s 阅读全文
posted @ 2015-01-18 21:33 一天不进步,就是退步 阅读(3373) 评论(0) 推荐(0) 编辑

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