<span>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. </span><span>Introducing Spring Framework 6</span><span> i
Introducing Spring Framework 6: Learning and Building Java-based Applications With Spring
✍ Scribed by Felipe Gutierrez, Joseph B. Ottinger
- Publisher
- Apress
- Year
- 2022
- Tongue
- English
- Leaves
- 215
- Edition
- 2
- Category
- Library
No coin nor oath required. For personal study only.
✦ Synopsis
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
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
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
📜 SIMILAR VOLUMES
Build and deploy secure Spring Framework and Spring Boot-based enterprise Java applications with the Spring Security Framework. This book explores a comprehensive set of functionalities to implement industry-standard authentication and authorization mechanisms for Java applications. Pro Spring Secur
<p>Build and deploy secure Spring Framework and Spring Boot-based enterprise Java applications with the Spring Security Framework. This book explores a comprehensive set of functionalities to implement industry-standard authentication and authorization mechanisms for Java applications.<i><br></i><i>
<span>This revised edition is your practical, hands-on guide to developing Java-based enterprise applications with big data or batches of data using the Spring LDAP and the Spring Data LDAP frameworks. The book covers these popular Spring project modules and explains the purpose and fundamental conc
<span>This revised edition is your practical, hands-on guide to developing Java-based enterprise applications with big data or batches of data using the Spring LDAP and the Spring Data LDAP frameworks. The book covers these popular Spring project modules and explains the purpose and fundamental conc