Spring Boot Reference Guide 2.1.3.RELEASE
User Manual:
Open the PDF directly: View PDF
Page Count: 442 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Spring Boot Reference Guide
- Table of Contents
- Part I. Spring Boot Documentation
- Part II. Getting Started
- Part III. Using Spring Boot
- 13. Build Systems
- 14. Structuring Your Code
- 15. Configuration Classes
- 16. Auto-configuration
- 17. Spring Beans and Dependency Injection
- 18. Using the @SpringBootApplication Annotation
- 19. Running Your Application
- 20. Developer Tools
- 21. Packaging Your Application for Production
- 22. What to Read Next
- Part IV. Spring Boot features
- 23. SpringApplication
- 24. Externalized Configuration
- 25. Profiles
- 26. Logging
- 27. Internationalization
- 28. JSON
- 29. Developing Web Applications
- 29.1 The “Spring Web MVC Framework”
- 29.2 The “Spring WebFlux Framework”
- 29.3 JAX-RS and Jersey
- 29.4 Embedded Servlet Container Support
- 29.5 Embedded Reactive Server Support
- 29.6 Reactive Server Resources Configuration
- 30. Security
- 31. Working with SQL Databases
- 32. Working with NoSQL Technologies
- 33. Caching
- 34. Messaging
- 35. Calling REST Services with RestTemplate
- 36. Calling REST Services with WebClient
- 37. Validation
- 38. Sending Email
- 39. Distributed Transactions with JTA
- 40. Hazelcast
- 41. Quartz Scheduler
- 42. Task Execution and Scheduling
- 43. Spring Integration
- 44. Spring Session
- 45. Monitoring and Management over JMX
- 46. Testing
- 46.1 Test Scope Dependencies
- 46.2 Testing Spring Applications
- 46.3 Testing Spring Boot Applications
- Detecting Web Application Type
- Detecting Test Configuration
- Excluding Test Configuration
- Testing with a mock environment
- Testing with a running server
- Using JMX
- Mocking and Spying Beans
- Auto-configured Tests
- Auto-configured JSON Tests
- Auto-configured Spring MVC Tests
- Auto-configured Spring WebFlux Tests
- Auto-configured Data JPA Tests
- Auto-configured JDBC Tests
- Auto-configured Data JDBC Tests
- Auto-configured jOOQ Tests
- Auto-configured Data MongoDB Tests
- Auto-configured Data Neo4j Tests
- Auto-configured Data Redis Tests
- Auto-configured Data LDAP Tests
- Auto-configured REST Clients
- Auto-configured Spring REST Docs Tests
- Additional Auto-configuration and Slicing
- User Configuration and Slicing
- Using Spock to Test Spring Boot Applications
- 46.4 Test Utilities
- 47. WebSockets
- 48. Web Services
- 49. Creating Your Own Auto-configuration
- 50. Kotlin support
- 51. What to Read Next
- Part V. Spring Boot Actuator: Production-ready features
- 52. Enabling Production-ready Features
- 53. Endpoints
- 54. Monitoring and Management over HTTP
- 55. Monitoring and Management over JMX
- 56. Loggers
- 57. Metrics
- 58. Auditing
- 59. HTTP Tracing
- 60. Process Monitoring
- 61. Cloud Foundry Support
- 62. What to Read Next
- Part VI. Deploying Spring Boot Applications
- Part VII. Spring Boot CLI
- 66. Installing the CLI
- 67. Using the CLI
- 68. Developing Applications with the Groovy Beans DSL
- 69. Configuring the CLI with settings.xml
- 70. What to Read Next
- Part VIII. Build tool plugins
- Part IX. ‘How-to’ guides
- 76. Spring Boot Application
- 77. Properties and Configuration
- 77.1 Automatically Expand Properties at Build Time
- 77.2 Externalize the Configuration of SpringApplication
- 77.3 Change the Location of External Properties of an Application
- 77.4 Use ‘Short’ Command Line Arguments
- 77.5 Use YAML for External Properties
- 77.6 Set the Active Spring Profiles
- 77.7 Change Configuration Depending on the Environment
- 77.8 Discover Built-in Options for External Properties
- 78. Embedded Web Servers
- 78.1 Use Another Web Server
- 78.2 Disabling the Web Server
- 78.3 Change the HTTP Port
- 78.4 Use a Random Unassigned HTTP Port
- 78.5 Discover the HTTP Port at Runtime
- 78.6 Enable HTTP Response Compression
- 78.7 Configure SSL
- 78.8 Configure HTTP/2
- 78.9 Configure the Web Server
- 78.10 Add a Servlet, Filter, or Listener to an Application
- 78.11 Configure Access Logging
- 78.12 Running Behind a Front-end Proxy Server
- 78.13 Enable Multiple Connectors with Tomcat
- 78.14 Use Tomcat’s LegacyCookieProcessor
- 78.15 Enable Multiple Listeners with Undertow
- 78.16 Create WebSocket Endpoints Using @ServerEndpoint
- 79. Spring MVC
- 80. Testing With Spring Security
- 81. Jersey
- 82. HTTP Clients
- 83. Logging
- 84. Data Access
- 84.1 Configure a Custom DataSource
- 84.2 Configure Two DataSources
- 84.3 Use Spring Data Repositories
- 84.4 Separate @Entity Definitions from Spring Configuration
- 84.5 Configure JPA Properties
- 84.6 Configure Hibernate Naming Strategy
- 84.7 Configure Hibernate Second-Level Caching
- 84.8 Use Dependency Injection in Hibernate Components
- 84.9 Use a Custom EntityManagerFactory
- 84.10 Use Two EntityManagers
- 84.11 Use a Traditional persistence.xml File
- 84.12 Use Spring Data JPA and Mongo Repositories
- 84.13 Customize Spring Data’s Web Support
- 84.14 Expose Spring Data Repositories as REST Endpoint
- 84.15 Configure a Component that is Used by JPA
- 84.16 Configure jOOQ with Two DataSources
- 85. Database Initialization
- 86. Messaging
- 87. Batch Applications
- 88. Actuator
- 89. Security
- 90. Hot Swapping
- 91. Build
- 91.1 Generate Build Information
- 91.2 Generate Git Information
- 91.3 Customize Dependency Versions
- 91.4 Create an Executable JAR with Maven
- 91.5 Use a Spring Boot Application as a Dependency
- 91.6 Extract Specific Libraries When an Executable Jar Runs
- 91.7 Create a Non-executable JAR with Exclusions
- 91.8 Remote Debug a Spring Boot Application Started with Maven
- 91.9 Build an Executable Archive from Ant without Using spring-boot-antlib
- 92. Traditional Deployment
- Part X. Appendices
- Appendix A. Common application properties
- Appendix B. Configuration Metadata
- Appendix C. Auto-configuration classes
- Appendix D. Test auto-configuration annotations
- Appendix E. The Executable Jar Format
- Appendix F. Dependency versions