码迷,mamicode.com
首页 >  
搜索关键字:SpringBoot    ( 9666个结果)
SpringBoot(5)新一代Java模板引擎Thymeleaf
SpringBoot(5)新一代Java模板引擎Thymeleaf Thymeleaf是一款用于渲染XML/XHTML/HTML5内容的模板引擎。类似JSP,Velocity,FreeMaker等,它也可以轻易的与Spring MVC等Web框架进行集成作为Web应用的模板引擎。与其它模板引擎相比, ...
分类:编程语言   时间:2017-09-18 20:31:10    阅读次数:301
Springboot 配置文件
# =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline.... ...
分类:编程语言   时间:2017-09-18 13:28:07    阅读次数:283
springboot 之 JAX-RS 和 Jersey
springbott支持Jersey,要是用Jersey2.x只需要依赖spring-boot-starter-jersey。 然后需要配置ResourceConfig EndPoint类要有@Components和HTTP 资源注解(@Get等) 因为EndPoint作为Spring的一个组件(C ...
分类:编程语言   时间:2017-09-17 13:34:21    阅读次数:274
SpringBoot 4.SpringBoot 整合 devtools 实现热部署
一、添加 devtools 依赖 当配置了 devtools 后,我们在classpath修改任何文件项目都将会自动重启。 (1)某些资源在更改时不一定需要触发重新启动。例如, Thymeleaf 模板可以就地进行编辑。默认情况下更改资源路径包括了:/META-INF/maven, /META-IN ...
分类:编程语言   时间:2017-09-17 13:20:41    阅读次数:182
springboot 之Spring Web Mvc Framework
1、SpringMvc自动配置 Spring Boot 为SpringMvc提供了自动配置。 自动配置包含Spring的以下特征: (1)视图解析器ContentNegotiatingViewResolver或BeanNameViewResolver。 (2)支持静态文件,包含对WebJar支持。 ...
分类:编程语言   时间:2017-09-17 11:39:44    阅读次数:370
SpringBoot中的Quartz应用
http://blog.csdn.net/github_34889651/article/details/52586234 https://my.oschina.net/hhaijun/blog/698498 http://www.jianshu.com/p/67c760de79d5 http:// ...
分类:编程语言   时间:2017-09-17 01:28:27    阅读次数:208
springboot入门
1、在eclipse中创建一个maven项目 (创建过程在这就省略了) 2、在pom文件中增加springboot的相关配置 增加springboot的基础配置 增加springboot web 完整的pom文件 <project xmlns="http://maven.apache.org/POM ...
分类:编程语言   时间:2017-09-17 00:22:52    阅读次数:239
kakfa 入门
springboot官网 Apache Kafka is supported by providing auto-configuration of the spring-kafka project. Kafka configuration is controlled by external conf ...
分类:其他好文   时间:2017-09-16 23:23:54    阅读次数:278
springboot profiles
Spring Profile 提供隔离部分配置的方法 并使它们仅仅在某些环境生效。通过@Component或@Configuration 配合 @Profile来实现。 通常,你是通过设置环境中的spring.profiles.active属性来指定那些profiles生效。比如在applicati ...
分类:编程语言   时间:2017-09-16 21:53:16    阅读次数:175
springboot 外部配置<下篇> 类型安全配置
使用@Value注解注入配置在一些情况下是很笨重的,尤其是在多重配置或者垂直数据的情况下。Spring提供可选的方法,有力地归类配置到bean当中,以便管理和校验配置。 上面的POJO定义以下几个属性: foo.enabled,默认false foo.remote-address,可以从String ...
分类:编程语言   时间:2017-09-16 14:59:49    阅读次数:275
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!