个人java框架 技术分析

一、框架选型

spring-boot

官方文档:https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/index.html#appendix

application.yml配置文件默认配置列表:https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html#common-application-properties

代码范例:https://github.com/JeffLi1993/springboot-learning-example

博客资料:https://mp.weixin.qq.com/s/N507Cfb_mbkGvHtg_FIaVg

 

 

日志组件:logback https://www.cnblogs.com/warking/p/5710303.html

代码生成器:https://github.com/xuxueli/xxl-code-generator (作者博客:https://www.cnblogs.com/xuxueli/p/8987347.html)(这个人开源的项目很多。都很有使用和借鉴的意义)

 spring-cloud 主题博客

 1、https://tommy88.top/archives/

 2、http://www.ityouknow.com/spring-cloud.html (纯洁的微笑)

 3、https://gitee.com/ityouknow/awesome-spring-cloud 海量博客集合

feign-client

 1、https://my.oschina.net/xiaominmin/blog/2986631 , http://blog.didispace.com/rencong-1/(异常处理和熔断处理) 

二、数据库相关选型

1、超详细sharding-jdbc分库分表实现(基于spring-boot)

 

三、消息中间件

1、RabbitMQ学习笔记

 

三、安全认证

  1. spring-security

1、源码分析 http://www.iocoder.cn/Spring-Security/good-collection/

2、中文文档 https://aquariuspj.gitbooks.io/spring-security-4-reference/content/I.%20Preface/2.%20Introduction/2.1%20What%20is%20Spring%20Security.html

3、演示实例博客:https://www.jianshu.com/p/d80061e6d900

 https://blog.csdn.net/isea533/article/details/78078101?utm_source=tuicool&utm_medium=referral (这篇文章详细的分析了从客户端到oauthserver服务端,一次token请求的经过)

 OauthServer 服务器端接收到http://localhost:8080/sso-server/oauth/authorize请求的时候,需要经过的过滤器

4、https://zhuanlan.zhihu.com/p/32952727

5、https://segmentfault.com/a/1190000014371789

6、https://www.jianshu.com/p/7766e0b9d98f (session持久化在redis中)

        2.spring-session

               1、http://blog.didispace.com/spring-session-xjf-3/

3.spring-oauth2

1、https://juejin.im/post/5a3cbce05188252582279467

2、腾讯开放平台对接微信登录申请过程(https://www.cnblogs.com/0201zcr/p/5133062.html)微信登录:(https://github.com/scribejava/scribejava/issues/746) QQ:登录(https://qtdebug.com/scribe-qq/

3、https://juejin.im/post/5c0547ba6fb9a049bb7c1724

4、前端访问oauth2的库 https://openid.net/developers/certified/   AppAuth-JS

 

 

 

 

四、参考项目

1、https://gitee.com/wells2333/spring-microservice-exam/blob/master/doc/%E5%9C%A8%E7%BA%BF%E8%80%83%E8%AF%95%E7%B3%BB%E7%BB%9FV2.0_%E9%83%A8%E7%BD%B2%E6%96%87%E6%A1%A3.md

 

五、前端

  1、typescript (https://jkchao.github.io/typescript-book-chinese/project/compilationContext.html#%E5%9F%BA%E7%A1%80)

其他

http://www.cnblogs.com/think90/p/8231415.html  --这里是很多java的第三方权威类库

 

JAVA中小型企业架构选型和设计

一、基础框架

web层:spring boot

数据库层:mybatis,或者jpa

缓存:redis

二、微服务

spring cloud

三、配置中心

携程的开源apollo项目

四、任务调度中心

开源项目xxl-job

五、登录授权中心

开源项目keyclock,或者使用spring oauth2自己写一个简单的

 

转载于:https://www.cnblogs.com/ZHUYIN/p/9964537.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值