码迷,mamicode.com
首页 >  
搜索关键字:SpringBoot    ( 9666个结果)
微服务SpringCloud+Docker入门到高级实战(教程详情)
第一章 课程介绍和学习路线 1、微服务架构SpringCloud课程介绍 简介:课程介绍和课程大纲讲解,讲课风格和重点内容理解技巧 2、技术选型和学后水平 简介:课程所需基础和技术选型讲解,学完课程可以到达怎样的程度, 1、IDEA JDK8 Maven SpringBoot基础 Linux 2、理 ...
分类:编程语言   时间:2018-09-12 13:57:43    阅读次数:589
(SpringBoot)二、自动生成mybatis代码
1)在pom.xml中增加generator插件 2)在resources下增加generatorConfig.xml文件 3)添加Command line mybatis-generator:generate -e 4)运行结果 图略 ...
分类:编程语言   时间:2018-09-12 13:57:26    阅读次数:136
springboot 中使用thymeleaf
Spring Boot支持FreeMarker、Groovy、Thymeleaf和Mustache四种模板解析引擎,官方推荐使用Thymeleaf。 spring-boot-starter-thymeleaf 在Spring Boot中使用Thymeleaf只需在pom中加入Thymeleaf的st ...
分类:编程语言   时间:2018-09-12 12:32:25    阅读次数:202
Tars http服务
http服务 发布到平台后可以直接使用 http 请求来调用,没有 tars 文件,注意发布服务时选择 非tars 协议! 1,创建一个 springboot 项目,并在启动类添加 @EnableTarsServer 注解 2,POM 依赖,需要 springmvc 和 spring-web 3,编 ...
分类:Web程序   时间:2018-09-12 11:12:07    阅读次数:821
SpringBoot整合集成redis
Redis安装:https://www.cnblogs.com/zwcry/p/9505949.html 1.pom.xml 2.application.properties 3.启动类 4.单元测试类 ...
分类:编程语言   时间:2018-09-12 11:06:56    阅读次数:171
Tars 服务调服务
1,创建一个 tars 服务工程 2,把需要调用的服务的 客户端接口文件 拷贝到当前服务 3,构建通信器 CommunicatorConfig 调用,如果是 springboot 开发客户端可以使用注解自动注入 4,项目结构(springboot 开发) ...
分类:其他好文   时间:2018-09-12 11:03:56    阅读次数:554
整合Freemarker视图层和整合jsp视图层和全局捕获异常
SpringBoot静态资源访问 1.静态资源:访问 js / css /图片,传统web工程,webapps springboot 要求:静态资源存放在resource目录下(可以自定义文件存放) 2.整合Freemarker视图层 使用Freemarker模板引擎渲染web视图 pom文件引入 ...
分类:Web程序   时间:2018-09-12 01:16:16    阅读次数:200
SpringBoot 参数检查 Controller中检查参数是否合法
springboot 验证 默认使用的是hibernate validator ,不用额外增加引用包,springboot已经内置包含。 1)定义接收参数实体 2.定义controller ...
分类:编程语言   时间:2018-09-11 21:14:03    阅读次数:452
SpringBoot 创建 console程序
1.在pom中添加依赖 2.修改Application.java 使用实现接口CommandLineRunner ...
分类:编程语言   时间:2018-09-11 21:11:41    阅读次数:641
SpringBoot 使用maven创建springboot项目
有两种方式可以创建 1是使用spring-boot-start-parent ,2是使用spring-boot-dependencies (即父项目dependencyManagement) (同理springcloud 项目也可以使用两种方式创建,推荐使用dependencyManagement, ...
分类:编程语言   时间:2018-09-11 21:03:22    阅读次数:382
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!