Skip to content

Gt841/SpringbootLearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot Learning

These days I read some articles about SpringBoot form CSDN. Then I decided to create a code respository to record my learning journey.

I hope this respository can help other people to learn Springboot.

1.create Springboot program

If you use IDEA,you could use the Spring Initalizr to creat a SpringBoot program. If you select Spring Web as dependency,it will add that denpendency in pom.xml automatically.


SpringBoot框架学习

最近我在CSDN论坛上看了一些关于SpringBoot的文章。 随后我决定创建一个代码库来记录我的学习历程。

我希望这个仓库可以帮助其他人学习spring boot框架。

1.创建SpringBoot项目

如果你使用的是开发工具是Idea,你可以使用Spring Initalizr工具创建Spring Boot项目. 如果构建项目时选择Spring Web,则在生成的新项目中的pom.xml文件中会自动添加Web应用所需依赖.

2.基础使用

编写简单的接口--controller内的HelloWorldcontroller

3.web页面的简单渲染

  1. Freemarker模板引擎渲染
  2. JSP渲染web视图
  3. 全局统一捕获异常

4.数据访问

  1. 使用JdbcTemplate
  2. 使用Mybatis
  3. 使用pageHelper分页插件

5.事务管理

  1. springboot事务管理
  2. 分布式事务管理

About

学习Springboot框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published