码迷,mamicode.com
首页 >  
搜索关键字:spring-boot    ( 7186个结果
SpringBoot基础
1.定位main应用类,Spring Boot应用的入口 我们通常建议将main应用类放在位于其他类上面的根包( root package) 中。 通常使用 @EnableAutoConfiguration 注解main类, 并且暗地里为某些项定义了一个基础“search package”。 例如, ...
分类:编程语言   时间:2016-09-20 13:50:00    阅读次数:164
rest-assured : Restful API 测试利器 - 真正的黑盒单元测试(跟Spring-Boot更配哦)
这里先贴一下IBM上的介绍 http://www.ibm.com/developerworks/cn/java/j-lo-rest-assured/index.html Java 程序员常常借助于 JUnit 来测试自己的 REST API,不,应该这样说,Java 程序员常常借助于 JUnit 来 ...
分类:编程语言   时间:2016-09-19 14:30:35    阅读次数:339
Spring Boot 教程系列学习
SpringBoot基础教程1-SpringToolSuite工具的安装SpringBoot基础教程2-RESTfullAPI简单项目的快速搭建SpringBoot基础教程3-配置文件详解:Properties和YAMLSpringBoot基础教程4-配置文件-多环境配置SpringBoot基础教程5-日志配置-logback和log4j2源码地址:https://github.com/r..
分类:编程语言   时间:2016-09-18 21:31:21    阅读次数:589
Spring Boot基础-RESTfull API简单项目的快速搭建
Spring Boot基础教程1-Spring Tool Suite工具的安装 Spring Boot基础教程2-RESTfull API简单项目的快速搭建 Spring Boot基础教程3-配置文件详解:Properties和YAML Spring Boot基础教程4-配置文件-多环境配置 Spr ...
分类:编程语言   时间:2016-09-18 13:42:35    阅读次数:414
Spring Boot自动配置类
http://docs.spring.io/spring-boot/docs/current/api/overview-summary.html http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#auto-con ...
分类:编程语言   时间:2016-09-17 19:06:57    阅读次数:1457
Spring Boot application.properties
1 # 2 # COMMON SPRING BOOT PROPERTIES 3 # 4 # This sample file is provided as a guideline. Do NOT copy it in its 5 # entirety to your own application. ...
分类:移动开发   时间:2016-09-17 13:18:24    阅读次数:282
PlatformTransactionManager
Spring Boot 使用事务非常简单,首先使用注解 @EnableTransactionManagement 开启事务支持后,然后在访问数据库的Service方法上添加注解 @Transactional 便可。 关于事务管理器,不管是JPA还是JDBC等都实现自接口 PlatformTransa ...
分类:其他好文   时间:2016-09-17 00:19:22    阅读次数:1663
(转)spring boot注解 --@EnableAsync 异步调用
原文:http://www.cnblogs.com/azhqiang/p/5609615.html EnableAsync注解的意思是可以异步执行,就是开启多线程的意思。可以标注在方法、类上。 为了让@Async注解能够生效,还需要在Spring Boot的主程序中配置@EnableAsync,如下 ...
分类:编程语言   时间:2016-09-16 22:45:03    阅读次数:603
spring boot
http://www.infoq.com/cn/articles/microframeworks1-spring-boot/ http://blog.csdn.net/zgmzyr/article/details/49837123 http://www.zhihu.com/question/3948 ...
分类:编程语言   时间:2016-09-16 00:07:21    阅读次数:206
MyBatis-Spring-Boot 使用总结
接 MyBatis-Spring 使用总结 。 首先,MyBatis-Spring-Boot-Starter will: Autodetect an existing DataSource. Will create and register an instance of a SqlSessionFa ...
分类:编程语言   时间:2016-09-15 06:17:56    阅读次数:234
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!