Introducing Spring Framework 6 : Learning and Building Java-based Applications With Spring
معرفی کتاب «Introducing Spring Framework 6 : Learning and Building Java-based Applications With Spring» نوشتهٔ 周雪光، 1959- author و Felipe Gutierrez, Joseph B. Ottinger، منتشرشده توسط نشر Apress Apress در سال 2022. این کتاب در فرمت pdf، زبان انگلیسی ارائه شده است.
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 Chapter 1: Your First Spring Application 14 Pre-requirements 15 Source Code Organization 16 Hello World Example 21 Hello, Boot 25 Hello, Kotlin 29 Summary 32 Chapter 2: Working with Classes and Dependencies 33 The “My Documents” Application 33 Testing the Implementation 38 Testing with Spring 42 Summary 45 Chapter 3: Applying Different Configurations 46 Testing My Documents 46 Annotation Configuration in Spring 54 Component Scanning 56 XML Configuration in Spring 59 Expanding the Configuration 62 Component Scanning in XML 67 Is XML Configuration a Good Idea? 68 Choosing a Configuration Approach 69 Summary 70 Chapter 4: Using Bean Scopes 71 Scope 71 The Scopes 71 Using the Scopes 73 Annotations 81 Summary 82 Chapter 5: Using Resource Files 83 Injecting a Resource 83 Loading Injected Values from Property Files 86 Internationalization 89 Summary 93 Chapter 6: Adding Simple Persistence to Your Spring Application 94 Persistence As a Concept 94 Revisiting Our Simple Data Model 95 Choosing a Database 98 Setting Up a JDBC Connection 99 The JDBCTemplate 104 Our Service Interfaces and the SearchEngine Implementation 105 Tying It All Together 109 Summary 111 Chapter 7: Letting Spring Build Your Data Access Objects 112 The Project 112 Spring Data Repositories 118 Summary 123 Chapter 8: Showing Your Spring Application on the Web 124 Thymeleaf 129 Tying It All Together 133 Summary 137 Chapter 9: Integrating Your Spring Application with External Systems 138 The Process 139 Summary 149 Chapter 10: Exposing a REST API 150 What Is REST? 150 Building a REST API in Spring 151 Summary 167 Chapter 11: Sending Emails from Within Spring 168 Sending Email 168 Set Up MailTrap 169 The Email Aspect of the Project 171 Asynchronous Tasks in Spring 183 Adding Scheduling Events in Spring 185 Summary 193 Chapter 12: Using Dynamic Languages 194 Loading Functionality Dynamically with Groovy 195 The Simplest Dynamic MessageService 197 Using Spring to Configure the Dynamic MessageService 201 Inline Dynamic Content 203 Summary 205 Chapter 13: Where Do You Go From Here? 206 Spring and the Impact on Development 206 The Wider World of Spring 208 Index 210
دانلود کتاب Introducing Spring Framework 6 : Learning and Building Java-based Applications With Spring