Home Page Icon
Home Page
Table of Contents for
Cover
Close
Cover
by Mark Heckler
Spring Boot: Up and Running
Preface
Conventions Used in This Book
O’Reilly Online Learning
How to Contact Us
1. Spring Boot in a Nutshell
Spring Boot’s Three Foundational Features
Starters for Simplified Dependency Management
Executable JARs for Simplified Deployment
Autoconfiguration
Summary
2. Choosing Your Tools and Getting Started
Maven or Gradle?
Apache Maven
Gradle
Choosing between Maven and Gradle
Java or Kotlin?
Java
Kotlin
Choosing between Java and Kotlin
Choosing a Version of Spring Boot
The Spring Initializr
Straight Outta Commandline
Staying in Integrated Development Environments (IDEs)
Cruising down main()
Summary
3. Creating Your first Spring Boot REST API
The Hows and Whys of APIs
What is REST and Why Does it Matter?
Your API, HTTP Verb Style
GET-ting
POST-ing
PUT-ting
DELETE-ing
And More
Trust, but Verify
Summary
4. Adding Database Access to Your Spring Boot App
Priming Autoconfig for Database Access
What do We Hope to Gain?
Adding a Database Dependency
Adding Code
Saving and Retrieving Data
A Bit of Polishing
Summary
5. Configuring and Inspecting Your Spring Boot App
Application Configuration
@Value
@ConfigurationProperties
Potential “third-party” option
Autoconfiguration report
Actuator
Getting Actuator to Open Up
Becoming More Environmentally Aware using Actuator
Turning Up the Volume on Logging with Actuator
Summary
6. Really Digging into Data
Defining Entities
Template Support
Repository Support
@Before
Creating a Template-based Service using Redis
Initializing the Project
Developing the Redis Service
Converting from Template to Repository
Creating a Repository-based Service using the Java Persistence API (JPA)
Initializing the Project
Developing the JPA (MySQL) Service
Loading Data
Creating a Repository-based Service using a NoSQL Document Database
Initializing the Project
Developing the MongoDB Service
Creating a Repository-based Service using a NoSQL Graph Database
Initializing the Project
Developing the Neo4j Service
Summary
7. Creating Imperative Applications using Spring MVC
Spring MVC: What Does it Mean?
End User Interactions using Template Engines
Initializing the Project
Developing the Aircraft Positions Application
Passing Messages
Powering Up PlaneFinder
Extending the Aircraft Positions Application
Creating Conversations with WebSocket
What is WebSocket?
Refactoring the Aircraft Positions Application
Summary
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Spring Boot: Up and Running
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset