Java
229 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 2.10 Spring Moduleshistorical
Spring Framework consists of multiple modules, with its core layer providing container capabilities. These notes organize responsibilities by module.
- 2.12 Usagehistorical
These notes start with dependencies and web.xml to demonstrate Spring MVC setup and how DispatcherServlet connects to framework configuration.
- MyBatis Source Analysishistorical
MyBatis can add interceptors through dynamic proxies when creating core objects. These notes trace the plugin mechanism through its four main objects.
- Spring MVC Source Analysishistorical
Controller breakpoints reveal the request call stack, which these notes follow through HttpServlet, FrameworkServlet, and DispatcherServlet.
- Thread Safetyhistorical
Mutable instance fields in singleton Spring MVC objects can cause problems under concurrent updates. These notes examine thread-safety approaches through that case.
- Usagehistorical
Server and client examples demonstrate basic Netty usage, including startup and request handling.
- Netty 3.x Source Analysishistorical
Netty 3.x creates thread pools and initializes Boss and Worker components. These notes trace its networking implementation through thread organization.
- 2.20 Apollohistorical
Apollo centrally manages configuration and stores changes in a database. These notes examine how clients obtain changes after publication.
- Eurekahistorical
Eureka provides service registration and discovery through a client-server architecture. These notes examine how registrations are stored and maintained.
- Feignhistorical
Feign invokes remote interfaces. These notes examine declarative calls through annotations, Ribbon, RestTemplate, and related components.