Java
232 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Spring Bean Scopeshistorical
Singleton, prototype, request/session and other Spring bean scopes, including lifecycle and thread-safety implications.
- Using Spring AOPhistorical
Pointcuts, advice, proxies, aspect ordering, and the self-invocation limitation of proxy-based Spring AOP.
- Using Spring IoChistorical
Dependency injection through components/configuration with constructor injection, explicit dependencies, and container-managed lifecycle.
- How Spring Autowiring Workshistorical
Dependency resolution by type/qualifier/name metadata and the BeanPostProcessor infrastructure behind annotation injection.
- Spring Transaction Source Architecturehistorical
Proxy/interceptor transaction flow from metadata lookup to transaction manager begin/commit/rollback.
- Creating a Spring Boot Starterhistorical
Packaging reusable dependencies plus conditional auto-configuration and typed configuration properties without surprising applications.
- Using Spring Boot Cache Supporthistorical
Spring cache abstraction usage, cache annotations, cache keys, invalidation, and the limits of local or remote cache providers.
- How an Executable Spring Boot Jar Startshistorical
Executable Boot archive layout, launcher/class-loader concept, nested dependencies, and why exact launcher classes are version-specific.
- MyBatis Auto-Configuration in Spring Boothistorical
Conditional creation of SqlSessionFactory, mapper integration, transaction participation, and application override points.
- Spring MVC Auto-Configuration in Spring Boothistorical
How Boot conditionally configures MVC defaults while allowing application customization and full override.