-
spring基础知识
介绍spring的bean配置、初始化等基础知识,初期文章主要基于spring4进行介绍。
最近更新文章
使用freemarker视图
spring boot默认对freemarker也有支持,需哟使用freemarker的第一步是加入freemarker的依赖。
org.freemarker
freemarker
spring boot提供的监控和管理接口
spring boot提供了收集一些系统信息和对系统进行管理的功能,并会把它们以jmx或http的方式发布出来,用户可以把它们集成到自己的监控系统。需要使用这些功能时需要添加如下依赖。
org.springframework.boot
...
spring boot devtools介绍
spring boot提供了一个spring-boot-devtools jar包,提供了一些方便程序开发的功能,主要是监控程序的变化,然后进行自动重新启动。使用spring-boot-devtools需要在pom.xml中添加如下依赖项,同时需要设置true 。spring-boot- ...
使用mybatis
mybatis官方提供了整合spring boot的starter,需要在spring boot应用中使用mybatis,需要在pom.xml中添加如下依赖,当前最新的版本是1.3.2。
org.mybatis.spring.boot
使用alibaba druid datasource
druiddatasource是alibaba开源的一个数据库连接池,其github地址是https://github.com/alibaba/druid。需要在spring boot应用中使用druiddatasource,可以在pom.xml中加入如下依赖。1.1.10版本是目前最新的一个版本。
...
使用spring data jpa
使用spring data jpa需要在pom.xml中添加spring-boot-starter-data-jpa依赖。
org.springframework.boot
spring-boot-s ...
使用resttemplate
resttemplate是spring web模块提供的作为客户端按照rest规范进行http请求的工具。spring boot也提供了对它的自动配置,spring boot不是直接的配置好resttemplate对象,而是由org.springframework.boot.autoconfigure.web.client.resttemplateautoconfi ...
« 上一页 1
- 专栏创建者:234390216
- 创建时间:2017-06-28 08:40:30
- 专栏文章数:75篇
- 专栏被浏览:458751 次
本专栏热门文章
最新评论
skran 写道大兄弟文章写的不错,排版有点问题,代码长了既没换行也没滚动条现在都是markdown写 ...
234390216 评论了
234390216 评论了
大兄弟文章写的不错,排版有点问题,代码长了既没换行也没滚动条
skran 评论了
skran 评论了
thaim 写道不知道resttemplate 默认的链接数、超时时间是多少?基于jdk的应该是无限制 ...
234390216 评论了
234390216 评论了
不知道resttemplate 默认的链接数、超时时间是多少?
thaim 评论了
thaim 评论了
iteye这个博客主体内容定义的宽度只有700,导致部分代码没有展示出来。iteye现在都没有人维护了 ...
234390216 评论了
234390216 评论了
样式,布局支持的不是很好
234390216 评论了
234390216 评论了
234390216 写道snfdf 写道@postconstruct和@predestroy没有执行, ...
snfdf 评论了
snfdf 评论了
caelebs 写道 好久以前学过的, 居然全忘了不怎么用的东西是忘的快。好多我写过,以前用过的东西, ...
234390216 评论了
234390216 评论了
好久以前学过的, 居然全忘了
caelebs 评论了
caelebs 评论了
...
caelebs 评论了
caelebs 评论了