GithubHelp home page GithubHelp logo

springboot-examples's Introduction

springboot-examples

spring boot 出现的目的是为了使spring framework 的应用开发变得简单,更容易上手非侵入性的提供了一套常用的配置,但是用户可以随时覆盖, 提供了更多的基础性、非业务性的功能(内置Web容器、权限认证机制、监控、应用配置管理等等)。完全不依赖于xml。

spring boot 学习系列 (使用版本 1.5.3)

  • 1.chapter1 -- springboot 项目结构解析
  • 2.chapter2 -- 配置文件详解:自定义属性、随机数、多环境配置等(目前只使用properties,后续添加yml的配置方式用法)
  • 3.chapter3 -- spring boot 构建restful api以及单元测试,替换默认json 解析框架,使用fastjson
  • 4.chapter3-jersey -- springboot 整合jersey 实现restful.
  • 5.chapter4-thymeleaf -- spring boot 国际化相关处理和thymeleaf 模板语法的基本使用
  • 6.chapter4-freemarker -- 使用freemarker模板引擎
  • 7.chapter4-jsp -- spring boot 对jsp 的支持
  • 8.chapter4-velocity -- spring boot 使用velocity 版本情况说明
  • 9.chapter5-swagger -- spring boot 使用swagger构建restful api
  • 10.chapter6-handle-exception -- spring boot 统一异常处理(返回异常对象json 或者modelandview)
  • 11.chapter6-servlet -- spring boot 下使用servlet、filter、listener以及springmvc interceptor 的相关处理.
  • 12.chapter6-aop-log -- spring boot log4j 使用aop方式添加日志.
  • 13.chapter7-jdbctemplate -- spring boot 整合jdbctemplate 操作数据库.
  • 14.chapter7-spring-data-jpa -- spring boot 整合spring data jpa ,简化数据库操作
  • 15.chapter7-mybatis -- spring boot 整合mybatis 使用,提供两种方式:xml 和annotation的方式。
  • 16.chapter7-mybatis-mapper-plugin -- spring boot 整合mybatis 第三方mapper 插件、mybatis自动生成工具 generator 简化开发.
  • 17.chapter8-jdbctemplate-mutil-datasource -- spring boot 整合jdbctemplate 多数据源
  • 18.chapter8-jpa-mutil-datasource -- spring boot 整合spring data jpa 多数据源
  • 19.chapter8-mybatis-mutil-datasource -- spring boot 使用druid 数据源 整合mybatis 多数据源
  • 20.chapter9-redis -- spring boot 整合redis
  • 21.chapter9-redis-cache -- spring boot 使用redis 作为缓存实例
  • 22.chapter9-redis-cluster -- 添加了注释说明了JedisCluster 与RedisTemplate 操作RedisCluster 的一些使用原理 .
  • 23.chapter9-redis-session -- spring boot 整合Redis .
  • 24.chapter10-shiro -- spring boot 整合shiro 基本实例
  • 25.chapter10-jwt -- spring boot 整合jwt 实现token 认证.
  • 26.chapter10-security -- spring boot 整合security 实现简单权限控制.
  • 27.chapter10-security-jwt -- spring boot security token 整合实现认证登陆.
  • 28.chapter11-caching-ehcache -- spring boot框架缓存系列 ehcache .
  • 29.chapter11-caching-redis -- redis 使用annotation 方式实现cache .
  • 30.chapter12-rocketmq -- spring boot 整合rocketmq 测试.
  • 31.chapter12-dubbo -- spring boot 整合dubbo两种使用方式.

测试运行

git clone https://github.com/t-hong/vue2-manage.git

jdk8

更新所有maven 依赖

各个模块相对独立,可直接运行spring boot 启动类(推荐) 或者加入tomcat运行的方式 

注意:部分模块需要第三方服务的,一定要检查配置连接是否正确

后续计划...

  • 日志系列:

    • Log4J2
    • Logback
  • nosql系列:

    • MongoDB
    • memcached
    • Elasticsearch
    • Solr
  • Message ......

    • kafka
    • rabbitmq

参考资源:

springboot-examples's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.