Introducing Spring Framework 6: Learning and Building Java-based Applications With Spring, 2nd Edition
- Length: 231 pages
- Edition: 2
- Language: English
- Publisher: Apress
- Publication Date: 2023-01-01
- ISBN-10: 1484286367
- ISBN-13: 9781484286364
- Sales Rank: #1135488 (See Top 100 Books)
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 About the Authors About the Technical Reviewer Acknowledgments Introduction Chapter 1: Your First Spring Application Pre-requirements Source Code Organization Hello World Example Hello, Boot Hello, Kotlin Summary Chapter 2: Working with Classes and Dependencies The “My Documents” Application Testing the Implementation Testing with Spring Summary Chapter 3: Applying Different Configurations Testing My Documents Annotation Configuration in Spring Component Scanning XML Configuration in Spring Expanding the Configuration Component Scanning in XML Is XML Configuration a Good Idea? Choosing a Configuration Approach Summary Chapter 4: Using Bean Scopes Scope The Scopes Using the Scopes Annotations Summary Chapter 5: Using Resource Files Injecting a Resource Loading Injected Values from Property Files Internationalization Summary Chapter 6: Adding Simple Persistence to Your Spring Application Persistence As a Concept Revisiting Our Simple Data Model Choosing a Database Setting Up a JDBC Connection The JDBCTemplate Our Service Interfaces and the SearchEngine Implementation Tying It All Together Summary Chapter 7: Letting Spring Build Your Data Access Objects The Project Spring Data Repositories Summary Chapter 8: Showing Your Spring Application on the Web Thymeleaf Tying It All Together Summary Chapter 9: Integrating Your Spring Application with External Systems The Process Summary Chapter 10: Exposing a REST API What Is REST? Building a REST API in Spring Summary Chapter 11: Sending Emails from Within Spring Sending Email Set Up MailTrap The Email Aspect of the Project Asynchronous Tasks in Spring Adding Scheduling Events in Spring Summary Chapter 12: Using Dynamic Languages Loading Functionality Dynamically with Groovy The Simplest Dynamic MessageService Using Spring to Configure the Dynamic MessageService Inline Dynamic Content Summary Chapter 13: Where Do You Go From Here? Spring and the Impact on Development The Wider World of Spring Index
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: Introducing Spring Framework 6: Learning and Building Java-based Applications With Spring, 2nd Edition
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.