11 2020 档案

摘要:pom.xml 下的build节点 1.可运行的jar包 <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <co 阅读全文
posted @ 2020-11-19 10:11 higsan 阅读(103) 评论(0) 推荐(0) 编辑
摘要:最近看《netty进阶之路》这本书,记一下笔记心得,以后逐步完善………… 服务端代码 final Handler serverHandler = new Handler();EventLoopGroup bossGroup = new NioEventLoopGroup();EventLoopGro 阅读全文
posted @ 2020-11-16 22:39 higsan 阅读(1569) 评论(0) 推荐(0) 编辑
摘要:当我们进行数据传输的时候,往往需要使用到缓冲区,常用的缓冲区就是JDK NIO类库提供的java.nio.Buffer。 7种基础类型(Boolean除外)都有自己的缓冲区实现,对于NIO编程而言,我们主要使用的是ByteBuffer。从功能角度而言,ByteBuffer完全可以满足NIO编程的需要 阅读全文
posted @ 2020-11-13 16:35 higsan 阅读(935) 评论(0) 推荐(0) 编辑
摘要:springboot启动时,默认配置文件会加载到 beanfactory 以下简单代码看配置文件的加载过程 public class Test1 { public static void main(String[] args) throws Exception { ClassPathXmlAppli 阅读全文
posted @ 2020-11-04 20:02 higsan 阅读(290) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示