Published onJuly 9, 2020Spring-Bean's lifecycleJavaDesign-PatternSpringlazy-initialized, Depends-on, initialization and destruction
Published onJune 24, 2020Spring-Initialize beanJavaDesign-PatternSpring3 ways to initialize a bean in Spring
Published onFebruary 14, 2020JSON Web Token入门WebJavaWhat is a JSON Web Token and how to generate it with Java
Published onDecember 29, 2019Java并发-ExecutorCompletionService使用Java简介CompletionService接口与ExecutorCompletionService类
Published onDecember 25, 2019Java并发-服务器客户端多线程JavaMulti-Thread Server-Client & usage of ArrayBlockingQueue 通过多线程模拟服务器-客户端发送消息
Published onDecember 8, 2019Java并发-ReentrantReadWriteLock应用JavaReader & Writer,Mutual Exclusion & Termination - 本文介绍经典的消费者-生产者模型,但这次用`ReentrantReadWriteLock`来实现并发时的线程安全。
Published onNovember 3, 2019Java并发-LockJavaLock, ReentrantLock, ReadWriteLock - 本文介绍java包下的Lock接口,以及他们与synchronized的区别。
Published onNovember 3, 2019Java并发-wait和notifyJavawait() & notify() - 本文介绍线程状态,以及如何使用wait和notify来实现生产者消费者模型。
Published onNovember 2, 2019Java并发-进程,线程及synchronized关键字Java线程安全 - 本文介绍并行与并发的区别,线程与进程的区别,以及使用`synchronized`关键字来保证线程安全。