Introducing Spring Framework 6 : Learning and Building Java-based Applications With Spring
معرفی کتاب «Introducing Spring Framework 6 : Learning and Building Java-based Applications With Spring» نوشتهٔ Felipe Gutierrez, Joseph B. Ottinger، منتشرشده توسط نشر Apress Apress در سال 2022. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است. «Introducing Spring Framework 6 : Learning and Building Java-based Applications With Spring» در دستهٔ بدون دستهبندی قرار دارد.
Spring Framework 6 remains - by far - the leading de-facto "out of the box" practical Java meta application development framework for building complex enterprise, cloud-native applications as well as web applications and microservices. Introducing Spring Framework 6 is your hands-on tutorial guide for learning the Spring Framework 6 from top to bottom, and allows you to build an example application along the way from the ground-up. As you learn the Spring Framework over the course of this book, you’ll incrementally build your first Spring application piece-by-piece as you learn each module, project or component of the Spring Framework and its extensions and ecosystem. As you learn the various fundamentals, you'll then apply them immediately to your Spring application. This Spring application, My Documents, enables you to learn by doing. After reading this book, you will have the essentials you should need to start using the Spring Framework and building your own Java-based applications or microservices with it. What you'll learn: Get started with Spring Framework 6 by VMWare Tanzu and the Spring community Build your first My Documents application using Spring Framework and its extensions Test your Spring application Add persistence to your application using Spring Data JPA and more Show your Spring application on the Web with Spring MVC and related Use REST APIs to enhance your application and add messaging with Kafka and AMQP Integrate your Spring application with external systems using Spring Integration toolkit Who is this book for: This book is for those aspiring software developers and programmers who are new to Spring. Some prior programming experience recommended, preferably in Java. Table of Contents 5 About the Authors 9 About the Technical Reviewer 10 Acknowledgments 11 Introduction 12 Part I: Spring Framework Basics 14 Chapter 1: Your First Spring Application 15 Pre-requirements 16 Source Code Organization 17 Hello World Example 22 Hello, Boot 26 Hello, Kotlin 30 Summary 33 Chapter 2: Working with Classes and Dependencies 34 The “My Documents” Application 34 Testing the Implementation 39 Testing with Spring 43 Summary 46 Chapter 3: Applying Different Configurations 47 Testing My Documents 47 Annotation Configuration in Spring 55 Component Scanning 57 XML Configuration in Spring 60 Expanding the Configuration 63 Component Scanning in XML 68 Is XML Configuration a Good Idea? 69 Choosing a Configuration Approach 70 Summary 71 Chapter 4: Using Bean Scopes 72 Scope 72 The Scopes 72 Using the Scopes 74 Annotations 82 Summary 83 Chapter 5: Using Resource Files 84 Injecting a Resource 84 Loading Injected Values from Property Files 87 Internationalization 90 Summary 94 Part II: The Spring Framework 95 Chapter 6: Adding Simple Persistence to Your Spring Application 96 Persistence As a Concept 96 Revisiting Our Simple Data Model 97 Choosing a Database 100 Setting Up a JDBC Connection 101 The JDBCTemplate 106 Our Service Interfaces and the SearchEngine Implementation 107 Tying It All Together 111 Summary 113 Chapter 7: Letting Spring Build Your Data Access Objects 114 The Project 114 Spring Data Repositories 120 Summary 125 Chapter 8: Showing Your Spring Application on the Web 126 Thymeleaf 131 Tying It All Together 135 Summary 139 Part III: Advanced Techniques with Spring Framework 140 Chapter 9: Integrating Your Spring Application with External Systems 141 The Process 142 Summary 152 Chapter 10: Exposing a REST API 153 What Is REST? 153 Building a REST API in Spring 154 Summary 170 Chapter 11: Sending Emails from Within Spring 171 Sending Email 171 Set Up MailTrap 172 The Email Aspect of the Project 174 Asynchronous Tasks in Spring 186 Adding Scheduling Events in Spring 188 Summary 196 Part IV: The New Spring I/O 197 Chapter 12: Using Dynamic Languages 198 Loading Functionality Dynamically with Groovy 199 The Simplest Dynamic MessageService 201 Using Spring to Configure the Dynamic MessageService 205 Inline Dynamic Content 207 Summary 209 Chapter 13: Where Do You Go From Here? 210 Spring and the Impact on Development 210 The Wider World of Spring 212 Index 214
دانلود کتاب Introducing Spring Framework 6 : Learning and Building Java-based Applications With Spring