Web框架:spring
入门:https://www.tutorialspoint.com/spring/index.htm
进阶:https://docs.spring.io/spring-framework/docs/current/reference/html/index.html,重点阅读Core部分。
原理:Bean生命周期管理、Dependency关系管理 参考资料:
https://github.com/zaiyunduan123/Java-Summarize/blob/master/notes/framework/Spring.md
网络框架:netty
Netty是一款异步的事件驱动的网络应用程序框架,支持快速地开发可维护的高性能的面向协议的服务器和客户端。
入门: https://netty.io/, https://netty.io/wiki/user-guide.html
进阶:https://netty.io/wiki/developer-guide.html
原理:https://github.com/netty/netty
日志框架: slf4j + log4j2
整体概要
日志是开发人员的好朋友,是记录应用程序运行状态和Debug的最重要手段之一;日志是大数据时代的基础设施,例如通过记录用户行为日志,辅以机器学习建模,我们能更好的进行用户画像用户洞察。但是由于涉及到读写磁盘,日志记录不当,则可能造成性能问题。 一个好的日志框架,解决上述问题。
slf4j框架提供了一组通用的日志接口,实现了日志分级输出。 log4j2实现了 slf4j接口,是众多日志框架中性能佼佼者。
使用指南
入门:
http://www.slf4j.org/
https://logging.apache.org/log4j/2.x/manual/index.html
进阶:
log4j2 JavaAPI
https://logging.apache.org/log4j/2.x/manual/api.html
原理:
https://logging.apache.org/log4j/2.x/manual/async.html
https://lmax-exchange.github.io/disruptor/
RPC框架: Thrift
Thrift是 facebook开源的远程过程调用(RPC)框架,包含一种接口描述语言和二进制通讯协议,可以用来定义和创建跨语言的服务。
使用指南
入门: 官网
进阶: Thrift-missing-guide
原理:github代码
安全框架
shiro:
https://shiro.apache.org/