摘要:
1.XmlBeanFactory加载过程(IoC的初始化)根据书中所描述的,IoC容器大体应该是由三部分组成,分别是resource,factory和reader。编程式使用IoC容器:ClassPathResource res = new ClassPathResource("beans.xml");DefaultListableBeanFactory factory = new DefaultListableBeanFactory();XmlBeanDefinitionReader reader = new XmlBeanDefinitionReader(factory 阅读全文
摘要:
这几天做项目和前端的大神发生了一点争执,原因就在于json的格式上面。于是我们就愤愤不平的开始争论,然后就去json的官网查资料,又去验证了我给他的json的字符串。json的官网上是这么说的:JSON is built on two structures:A collection of name/value pairs. In various languages, this is realized as anobject, record, struct, dictionary, hash table, keyed list, or associative array.An ordered l 阅读全文