1 Star 0 Fork 0

Admin/springboot-demo

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
Loading...
README

SpringBoot2.0

慕课网,Spring Boot 2.0深度实践-初遇Spring Boot

  • 一个SpringBoot2.0的demo,主要了解多模块以及Spring FrameWork5、SpringBoot2.0和Jdk1.8的一些新特性,比如lambda、函数式编程、web flux的支持。
    创建maven项目时记住勾选Web Flux,默认嵌入式容器从为Netty(web为Tomcat)
     参考资料:
      https://www.imooc.com/learn/933
    代码结构和视频刚开始时结构不同,因为在第三章多模块时进行了重构,代码无修改,可放心使用。

  • 代码写于:2018-05-03
     JDK:JDK1.8版本,
      SpringBoot:2.0.1.RELEASE
     IDE:IDEA 2017.3.3,
     操作系统为:Windows10

  • 重构时注意:
    重构时建立maven项目而不是Spring
     重构后pom中的build标签的所有内容应该移到主模块中去(本案例主模块是web)
     若要打包成war包,则需在主模块下创建了webapp/WEB-INF/web.xml文件

  • 使用lombok包,减少代码冗余量,若不愿使用lombok包可将源码中所有bean的@Data注解去掉,加上get/set方法

Empty file

Releases

No release

Contributors (2)

All

Activities

6年多前推送了新的提交到 master 分支,18362b1...c4df76b
6年多前推送了新的 master 分支
6年多前创建了仓库
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mwzhyf_admin/springboot-demo.git
git@gitee.com:mwzhyf_admin/springboot-demo.git
mwzhyf_admin
springboot-demo
springboot-demo
master

Search