Reactive Spring
Total Page:16
File Type:pdf, Size:1020Kb
Downloaded from https://www.studycrux.com Downloaded from https://www.studycrux.com Table of Contents 1. Reactive Spring . 1 2. Frontmatter . 2 3. About the Author . 3 4. Dedication. 5 5. Acknowledgements . 6 6. Preface. 7 6.1. Who this book is for . 7 6.2. What you need for this book . 7 6.3. Conventions . 7 6.4. Lombok . 8 6.5. Reader feedback . 8 7. Introduction . 9 8. Prerequisites . 10 8.1. Type Inference. 10 8.2. Function Interfaces, Lambdas and Method References . 10 9. Bootstrap . 12 9.1. A Big ol' Bag o' Beans . 16 9.2. The CustomerService . 17 9.3. An Inflexible Implementation . 19 9.4. A Parameterized Implementation . 24 9.5. Templates . 25 9.6. A Context For Your Application. 29 9.7. Component Scanning . 35 9.8. Declarative Container Services with @Enable* Annotations . 38 9.9. A "Bootiful" Application . 42 9.10. But What If… . 49 9.11. Deployment . 51 9.12. Next Steps . 51 10. IO, IO, It’s Off to Work We Go… . 53 10.1. A Natural Limit . 54 10.2. The Missing Metaphor. 57 10.3. The Reactive Streams Initiative. 58 10.4. Are We There Yet? . 60 10.5. Towards a More Functional, Reactive Spring . 61 11. Reactor . 63 11.1. The Reactive Streams Specification . 64 Downloaded from https://www.studycrux.com 11.2. Project Reactor . 67 11.3. Creating New Reactive Streams . 68 11.4. Processors. 69 11.5. Operators . 71 11.6. Operator Fusion . 83 11.7. Schedulers and Threads . 84 11.8. Hot and Cold Streams . 89 11.9. Context . 94 11.10. Control Flow . 95 11.11. Debugging . 104 11.12. Next Steps. 110 12. Reactive Data Access . 111 12.1. Why Should You Go Reactive?. ..