2.Framework
Java · 98 notes
- Guava BloomFilterhistorical
Probabilistic membership testing with Guava BloomFilter, false positives, sizing, serialization, and appropriate use cases.
- How Lombok Workshistorical
Lombok's compile-time annotation processing/compiler integration and the trade-offs of generated Java boilerplate.
- MyBatis Overviewhistorical
MyBatis as a SQL-mapping framework: explicit SQL, parameter/result mapping, sessions, mappers, and transaction boundaries.
- Spring Cloud Overviewhistorical
Spring Cloud as an integration ecosystem for distributed-service concerns, with version-train compatibility and evolving components.
- Spring Framework Learning Resourceshistorical
A roadmap from dependency injection and bean lifecycle through AOP, transactions, MVC, Boot, and source-code reading.
- Spring Boot Overviewhistorical
Spring Boot's opinionated application bootstrap, starters, auto-configuration, embedded servers, external configuration, and observability.
- Spring MVC Overviewhistorical
Spring MVC's DispatcherServlet request pipeline, controllers, handler mapping/adapters, binding, validation, and response rendering.
- Guava RateLimiterhistorical
Local token/rate limiting with Guava RateLimiter and its limits in distributed systems.
- Using MyBatishistorical
Mapper definitions, parameter binding, result mapping, dynamic SQL, sessions, and safe transaction usage in MyBatis.
- Spring Framework Moduleshistorical
A conceptual map of Spring Core/Beans/Context, AOP, data/transactions, web MVC/reactive, testing, and integration modules.
- Spring Boot Learning Resourceshistorical
A learning roadmap for Boot configuration, auto-configuration, web/data integration, packaging, observability, and source analysis.
- Using Spring MVChistorical
Controller mappings, request binding, validation, JSON responses, exception handling, and safe web-layer boundaries.
- MyBatis Source Architecturehistorical
MyBatis execution flow from mapper proxy through mapped statement, executor, statement handler, parameter/result handling, and caching.
- Spring MVC Source Flowhistorical
Source-level request flow through DispatcherServlet, HandlerMapping, HandlerAdapter, interceptors, argument/return handlers, and exception processing.
- MyBatis Learning Resourceshistorical
A practical roadmap for learning MyBatis from SQL mapping through caching, plugins, transactions, and source internals.
- Thread Safety in Spring MVC Controllershistorical
Why singleton controllers handle concurrent requests and should avoid unsynchronized mutable instance state.
- Spring MVC Learning Resourceshistorical
A roadmap from DispatcherServlet and controllers through argument resolution, message conversion, validation, errors, and source analysis.
- Using Nettyhistorical
Building event-driven network clients and servers with Bootstrap, EventLoopGroup, Channel, Pipeline, handlers, and graceful shutdown.
- Netty 3.x Source Analysis (Historical)historical
Historical Netty 3 architecture and why its APIs/classes should not be projected onto modern Netty 4.x designs.
- Apollo Configuration Centerhistorical
Centralized configuration, namespaces, change delivery, local caching, and operational considerations for Apollo-style config systems.
- Eureka Service Discoveryhistorical
Eureka-style client registration and discovery, heartbeats, cached registries, and availability-oriented semantics.
- Feign Declarative HTTP Clientshistorical
Declarative HTTP interfaces, encoding/decoding, errors, timeouts, retries, and service-discovery integration.
- Spring Cloud Gatewayhistorical
Reactive API gateway routing, filters, cross-cutting policy, and the importance of non-blocking/backpressure-safe customization.
- Hystrix (Historical)historical
Historical Hystrix circuit breaker, timeout, fallback, and isolation concepts that remain useful even though the library is legacy.
- Ribbon Client-Side Load Balancing (Historical)historical
Historical Ribbon client-side load balancing and durable instance-selection concepts.
- Spring Cloud Sleuth (Historical)historical
Distributed trace/span propagation concepts and the transition from Spring Cloud Sleuth to newer observability stacks.
- Zuul Gateway (Historical Context)historical
Netflix Zuul gateway/filter architecture and its place as historical context beside newer Spring gateway stacks.
- Spring Application Events and Listenershistorical
Spring application-event publication, listener execution, transactions, asynchrony, and coupling considerations.
- 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.
- Starting a Spring Boot Applicationhistorical
The application entry point, SpringApplication, configuration sources, profiles, lifecycle hooks, and graceful startup/shutdown.
- Embedded Tomcat Auto-Configurationhistorical
How Spring Boot creates and customizes an embedded servlet container from dependencies, web application type, and server properties.
- Netty Learning Resourceshistorical
A practical Netty learning roadmap from event loops and pipelines through buffers, codecs, backpressure, and version-pinned source reading.
- Netty Source Analysis Summaryhistorical
A durable mental model for Netty server bootstrap, event loops, channel registration, pipelines, and ByteBuf allocation.
- Hystrix Thread Isolation (Historical)historical
Thread/semaphore bulkhead isolation, bounded queues, timeout behavior, and modern resilience interpretation.
- Spring Bean Lifecyclehistorical
From bean definition and instantiation through dependency injection, post-processors, initialization, proxies, use, and destruction.
- What Spring AOP Ishistorical
Spring's proxy-based aspect-oriented programming model: join points, pointcuts, advice, aspects, and proxies.
- What Spring IoC Ishistorical
Inversion of Control and dependency injection as moving object construction/wiring policy from business classes to a container.
- 2.47 Spring常用注解historical
注解作用 @Configuration 相当于之前的applicationContext.xml,就是一个配置文件 @ComponentScan 配置扫描包,如果有@Controller,@Service,@Repositiry,@Component修饰的,则把它加入ioc容器中 @Bean 配合@
- Spring Transaction Propagationhistorical
REQUIRED, REQUIRES_NEW, NESTED and other propagation modes as policies for existing versus new transaction contexts.
- Spring Boot Cache Auto-Configurationhistorical
How Spring Boot conditionally creates cache infrastructure from classpath, properties, beans, and provider availability.
- Netty Core Componentshistorical
The roles of Bootstrap, EventLoopGroup, EventLoop, Channel, Pipeline, Handler, Future, and ByteBuf.
- Netty Direct / Off-Heap Memoryhistorical
Why Netty uses direct buffers, their I/O advantages and native-memory/reference-counting risks.
- Spring BeanFactoryhistorical
BeanFactory as Spring's dependency-container contract and its relationship with ApplicationContext.
- Using Spring Transactionshistorical
Declarative transaction boundaries, rollback rules, proxy limitations, isolation, timeouts, and external side effects.
- Spring Circular Dependencieshistorical
Constructor versus setter/field cycles, early references, proxy complications, and why redesign is usually preferable.
- Ordering Spring Bean Initializationhistorical
How to express real bean dependencies instead of relying on incidental initialization order.
- Netty Source: Creating NioEventLoopGrouphistorical
Historical source view of how a NioEventLoopGroup creates and manages child event loops.
- Netty Source: Bootstrap Creationhistorical
How Bootstrap/ServerBootstrap accumulate configuration before channel registration and bind/connect.
- Netty Bind Source Summaryhistorical
End-to-end server bind flow: create, initialize, register, bind, activate, and complete the ChannelFuture.
- Netty Source: Detecting New Connectionshistorical
How readiness on a listening channel leads the event loop to accept new sockets.
- Netty Source: Pipeline Initializationhistorical
How every Channel owns a pipeline of handler contexts and how initial handlers are installed.
- Netty Server Startup: Creating the Server Channelhistorical
First server-startup phase: Bootstrap configuration produces a concrete listening-channel instance.
- Spring IoC Source: Creating the Application Contexthistorical
High-level ApplicationContext refresh flow from environment/bean definitions through post-processors and singleton initialization.
- Spring Boot Startup Source Flowhistorical
Conceptual SpringApplication startup phases from environment preparation through context refresh, runners, and ready events.
- Netty Source: Creating EventLoop Executorshistorical
How Netty associates event loops with executors/threads and why event-loop thread ownership matters.
- Netty Source: Creating an Accepted NioSocketChannelhistorical
Wrapping an accepted socket as a child Channel with pipeline/configuration and parent relationship.
- Netty Pipeline: Adding and Removing ChannelHandlershistorical
Dynamic pipeline modification, handler lifecycle callbacks, event-loop serialization, and sharability constraints.
- Netty Server Startup: Initializing the Server Channelhistorical
Applying parent options/attributes and installing child-channel initialization logic before registration.
- Spring IoC Source: BeanFactoryPostProcessor Phasehistorical
How BeanFactoryPostProcessor customizes bean definitions/container metadata before ordinary bean instantiation.
- Spring Boot Auto-Configuration Principleshistorical
Conditional configuration selection, metadata/imports, bean back-off, configuration properties, and condition diagnostics.
- Netty Source: Creating NioEventLoop Childrenhistorical
Creation of the event-loop child set and channel-to-event-loop selection in a NioEventLoopGroup.
- Netty Source: Assigning an Accepted Channel to an EventLoophistorical
Selecting a worker event loop and registering the accepted child channel for thread-confined I/O processing.
- Netty Server Startup: Registering with the EventLoophistorical
Assigning the server channel to an event loop and transport selector before binding.
- Spring IoC Source: Registering BeanPostProcessorshistorical
Why BeanPostProcessors must be registered before ordinary singleton creation and what lifecycle extension they provide.
- Netty Source: Registering Read Interesthistorical
How an active socket channel becomes interested in read readiness and feeds inbound pipeline events.
- Netty Server Startup: Binding the Porthistorical
Asynchronous local-address bind, channel activation, failure handling, and bind future completion.
- Spring IoC Source: Instantiating Non-Lazy Singletonshistorical
How Spring resolves bean dependencies, creates singleton instances, applies lifecycle processors, and caches exposed objects.
- Netty Server Startup Overviewhistorical
ServerBootstrap to active listener: channel creation, initialization, event-loop registration, and bind.
- Spring IoC Class Relationshipshistorical
A conceptual map of Spring container interfaces and extension points rather than a version-frozen UML diagram.
- Netty Bind Source: Instantiating the Channelhistorical
Historical source flow from configured channel factory to a server Channel instance before registration.
- Netty Bind Source: Binding the Listening Sockethistorical
How an event-loop-owned server channel performs the transport bind and transitions toward active listening state.
- Netty Pipeline: Inbound Eventshistorical
Propagation of channel lifecycle and read events through inbound handlers.
- Netty ByteBufhistorical
Reader/writer indexes, heap/direct buffers, slicing, reference counting, and ownership rules.
- Spring AOP Source: Registering the Auto-Proxy Creatorhistorical
How annotation-driven AOP enables an auto-proxy BeanPostProcessor, described as versioned Spring internals.
- Spring AOP Source: Creating the Auto-Proxy Creatorhistorical
Lifecycle of Spring's AOP auto-proxy creator as an infrastructure bean and BeanPostProcessor.
- Spring AOP Source Analysis Summaryhistorical
End-to-end Spring AOP model from infrastructure registration and advisor discovery to proxy creation and interceptor invocation.
- Netty Bind Source: Initializing the Channelhistorical
Applying options, attributes, and pipeline handlers to a newly created server channel.
- Netty Source: NioEventLoop Run Loophistorical
Selector waiting, selected-key processing, queued tasks, scheduling, and fairness inside a Netty NIO event loop.
- Netty Pipeline: Outbound Eventshistorical
Propagation of writes, flushes, binds, connects, closes, and other outbound operations through handlers toward the transport.
- Netty ByteBufAllocatorhistorical
Allocator abstraction for heap/direct, pooled/unpooled buffers and why allocation strategy is configurable.
- Spring AOP Source: When Auto-Proxying Runshistorical
Where auto-proxy creation participates in the bean lifecycle and why early references matter for some dependency graphs.
- Netty Bind Source: Registering the Channelhistorical
Assigning a Channel to an EventLoop, registering with selector/transport state, and firing registration events.
- Netty Pipeline: Exception Propagationhistorical
How handler failures become exceptionCaught events and why exceptions need explicit logging, cleanup, and connection policy.
- Using Netty ByteBuf Allocation Safelyhistorical
Allocator usage, capacity, slicing, copying, reference-count handling, and leak-safe buffer ownership.
- Spring AOP Source: Creating the Proxyhistorical
Advisor matching and creation of JDK-interface or class-based proxies around eligible Spring beans.
- Netty Channel Type Hierarchyhistorical
Conceptual Channel hierarchy across transport-independent API, abstract channel support, and concrete NIO/native transports.
- Spring AOP Source: Invoking the Target Methodhistorical
Interceptor-chain execution around a proxied target method and how proceed composes advice.
- Netty PooledByteBufAllocatorhistorical
Pooled ByteBuf allocation, arenas/chunks/suballocation concepts, reuse benefits, and version-sensitive allocator internals.
- Netty PoolThreadCachehistorical
Per-thread pooled buffer caching as an allocation optimization, with retention and event-loop affinity trade-offs.