摘要:
配置成功后,需要启动测试用例!package com.cml.controller;import javax.annotation.Resource;import org.junit.Test;import org.junit.runner.RunWith;impor... 阅读全文
posted @ 2014-04-15 16:10
小小架构师
阅读(99)
评论(0)
推荐(0)
摘要:
spring官方文档总提示要进行SpringJunit测试必须先配置两个信息:1、使用Spring IOC功能配置2、配置正确的JDBC或ORM框架连接数据库下面进行spring3和hibernate4测试平台基础配置说明:1、注意如果你使用的是hibernate3则... 阅读全文
posted @ 2014-04-15 16:07
小小架构师
阅读(131)
评论(0)
推荐(0)
摘要:
springboot完美的支持了springmvc,自家东西当然是支持最好的啦!@EnableAutoConfiguration自动注入了一下信息1、包含了ContentNegotiatingViewResolver,BeanNameViewResolver两个bea... 阅读全文
posted @ 2014-04-15 09:48
小小架构师
阅读(157)
评论(0)
推荐(0)
摘要:
在使用springboot的时候可以使用属性文件配置对属性值进行动态配置,官方文档原文如下:Spring Boot uses a very particular PropertySource order that is designed to allow sensib... 阅读全文
posted @ 2014-04-15 09:28
小小架构师
阅读(266)
评论(0)
推荐(0)

浙公网安备 33010602011771号