Java
229 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- 2.43 Thread Isolationhistorical
Thread isolation separates calls into distinct thread resources to prevent failing calls from exhausting a service. These notes use Hystrix configuration and execution as examples.
- Bean Lifecyclehistorical
A Spring bean is instantiated and then undergoes property injection and further processing. These notes organize its lifecycle stages and extension points.
- What Spring AOP Ishistorical
AOP adds cross-cutting behavior without directly changing business code. These notes use logging to explain separating aspects from business logic.
- What It Ishistorical
IOC delegates object creation and management to a container, from which business code obtains dependencies. These notes compare that arrangement with manual construction.
- 2.47 Common Spring Annotationshistorical
Spring annotations declare configuration classes, scan components, and register objects in the IOC container. These notes organize common annotations and their usage.
- Spring Transaction Propagationhistorical
Transaction propagation behavior is an enhancement that Spring provides on top of database transactions. It describes how a transaction propagates when a method annotated with a particular propagation behavior is nested inside another method.
- Spring Boot Cache Auto-Configuration Principlehistorical
Spring Boot creates cache-management objects through cache auto-configuration. These notes trace configuration selection and object creation from CacheAutoConfiguration.
- Component Introductionhistorical
Netty is an asynchronous event-driven networking framework built around Java I/O. These notes organize its main roles through components such as Bootstrap.
- Off-Heap Memoryhistorical
Off-heap memory lies outside the Java heap. These notes compare ByteBuffer allocation approaches and their relationship to data transfer.
- BeanFactoryhistorical
BeanFactory instantiates, configures, and manages beans, while ApplicationContext adds further capabilities. These notes examine relationships among container interfaces.