# reactor-programming-master **Repository Path**: junjun_com/reactor-programming-master ## Basic Information - **Project Name**: reactor-programming-master - **Description**: 响应式编程Reactor是一种基于Java 8的函数式反应式库,用于简化异步和事件驱动编程。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-06-27 - **Last Updated**: 2026-01-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: SpringBoot, 响应式 ## README # Java Reactive Programming Learning Project This project serves as a comprehensive learning resource for Java reactive programming and related technologies. It includes multiple chapters demonstrating different aspects of reactive development. ## Chapters Overview 1. **chapter01-stream** - Demonstrates lambda expressions and stream operations in Java - Includes example implementations of reactive streams and data processing 2. **chapter02-reactor** - Focuses on Project Reactor fundamentals - Contains examples using Flux for reactive data handling 3. **chapter03-webflux** - Implements Spring WebFlux for reactive web applications - Features controller examples with various reactive endpoints - Includes configuration and filter components for WebFlux setup 4. **chapter04-r2dbc** - Demonstrates reactive database connectivity using R2DBC - Contains entity definitions and repository interfaces for data access - Includes conversion logic for handling database entities 5. **chapter05-security** - Implements reactive security using Spring Security - Features method-level security controls - Contains user/role/permission models for security management ## Getting Started Each chapter contains its own `pom.xml` for Maven-based dependency management. To run specific examples: 1. Navigate to the desired chapter directory 2. Build the project using Maven 3. Run the main application class ## Usage Examples The project includes various reactive programming patterns: - Stream processing in `StreamDemo.java` - Flux usage in `FluxDemo.java` - WebFlux controllers in `HelloController.java` - Reactive database operations in `AuthorController.java` - Security implementation with method-level authorization in `HelloController.java` ## Contributing This project is intended primarily as a learning resource. If you'd like to contribute, please: 1. Fork the repository 2. Create a new branch 3. Make your changes 4. Submit a pull request ## License This project is licensed under the MIT License. See the license file for details.