摘要: 摘要:“快”作为程序员追逐的终极目标之一,而FastJSON则很好的证明了这一特性。本期《问底》,静行将带大家见证它序列化和反序列化的实现过程,一起领略它的“快”感。 还记得电影《功夫》中火云邪神的一句话:天下功夫,无坚不破,唯快不破。在程序员的世界中,“快”一直是大家苦苦修炼,竞相追逐的终极目标之 阅读全文
posted @ 2017-05-31 23:52 归零,路上 阅读(5031) 评论(1) 推荐(1)
摘要: 依赖 1 2 3 4 5 1 2 3 4 5 SerializerFeature属性 示例 准备 User、Word来模拟各种数据类型。 SerializerFeatureTest:JSON部分示例的示例方法。 User类型:缺省get、set方法 1 2 3 4 5 6 7 8 1 2 3 4 5 阅读全文
posted @ 2017-05-31 20:04 归零,路上 阅读(6628) 评论(0) 推荐(0)
摘要: 问题清单: 什么是Spring框架?Spring框架有哪些主要模块? 使用Spring框架有什么好处? 什么是控制反转(IOC)?什么是依赖注入? 请解释下Spring中的IOC? BeanFactory和ApplicationContext有什么区别? 将Spring配置到你的应用中共有几种方法? 阅读全文
posted @ 2017-05-29 00:05 归零,路上 阅读(509) 评论(0) 推荐(0)
摘要: 一、Eclipse常见快捷键使用 自动完成单词:Alt+/ 重命名:Shift+Alt+r(统一改变字段或方法名) 生成getter/setter方法: Shift+Alt+s,然后r 删除当前行:Ctrl+d 定位到前(后)一个编辑点:标准为Alt+左(右)箭头 , 修改方法为: Windows- 阅读全文
posted @ 2017-05-28 23:58 归零,路上 阅读(1365) 评论(0) 推荐(0)
摘要: Commons-configuration Commons-FileUpload Commons DbUtils Commons BeanUtils Commons CLI Commons Codec Commons Collections Commons DBCP Commons HttpClie 阅读全文
posted @ 2017-05-28 23:56 归零,路上 阅读(808) 评论(0) 推荐(0)
摘要: Spring IOC设计原理解析:本文乃学习整理参考而来 一、 什么是Ioc/DI? 二、 Spring IOC体系结构 (1) BeanFactory (2) BeanDefinition 三、 IoC容器的初始化 1、 XmlBeanFactory(屌丝IOC)的整个流程 2、 FileSyst 阅读全文
posted @ 2017-05-28 23:29 归零,路上 阅读(218) 评论(0) 推荐(0)
摘要: 如果是经常使用Spring,特别有自己新建ApplicationContext对象的经历的人,肯定见过这么几条异常消息:1.LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods vi 阅读全文
posted @ 2017-05-28 11:48 归零,路上 阅读(534) 评论(0) 推荐(0)
摘要: 英语翻译之前的都删了,也许有些地方自己理解的不对,可以指正下, 解析下: 1.常量:5个常量,1个是判断是工厂是否自动装配bean,其他常量是对自动装配的策略。其中常量等于4的这个在Spring3.0时候进行抛弃 2.6个自动装配bean的方法,3个和BeanPostProcessors有关的处理, 阅读全文
posted @ 2017-05-27 19:41 归零,路上 阅读(319) 评论(0) 推荐(0)
摘要: 一般情况下,quartz的job中使用autowired注解注入的对象为空,这时候我们就要使用spring-quartz提供的AdaptableJobFactory类。 自定义一个类: [java] view plain copy public class JobFactory extends Ad 阅读全文
posted @ 2017-05-27 19:11 归零,路上 阅读(657) 评论(0) 推荐(0)
摘要: java项目编译正常,但在tomcat中发布时,报错,错误信息如下: 严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.Conte 阅读全文
posted @ 2017-05-24 19:43 归零,路上 阅读(3740) 评论(0) 推荐(0)