Spring Boot Reference Guide
User Manual:
Open the PDF directly: View PDF
Page Count: 416 [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. Developing Web Applications
- 27.1 The “Spring Web MVC Framework”
- 27.2 The “Spring WebFlux Framework”
- 27.3 JAX-RS and Jersey
- 27.4 Embedded Servlet Container Support
- 28. Security
- 29. Working with SQL Databases
- 30. Working with NoSQL Technologies
- 31. Caching
- 32. Messaging
- 33. Calling REST Services with RestTemplate
- 34. Calling REST Services with WebClient
- 35. Validation
- 36. Sending Email
- 37. Distributed Transactions with JTA
- 38. Hazelcast
- 39. Quartz Scheduler
- 40. Spring Integration
- 41. Spring Session
- 42. Monitoring and Management over JMX
- 43. Testing
- 43.1 Test Scope Dependencies
- 43.2 Testing Spring Applications
- 43.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 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
- User Configuration and Slicing
- Using Spock to Test Spring Boot Applications
- 43.4 Test Utilities
- 44. WebSockets
- 45. Web Services
- 46. Creating Your Own Auto-configuration
- 47. Kotlin support
- 48. What to Read Next
- Part V. Spring Boot Actuator: Production-ready features
- 49. Enabling Production-ready Features
- 50. Endpoints
- 51. Monitoring and Management over HTTP
- 52. Monitoring and Management over JMX
- 53. Loggers
- 54. Metrics
- 55. Auditing
- 56. HTTP Tracing
- 57. Process Monitoring
- 58. Cloud Foundry Support
- 59. What to Read Next
- Part VI. Deploying Spring Boot Applications
- Part VII. Spring Boot CLI
- 63. Installing the CLI
- 64. Using the CLI
- 65. Developing Applications with the Groovy Beans DSL
- 66. Configuring the CLI with settings.xml
- 67. What to Read Next
- Part VIII. Build tool plugins
- Part IX. ‘How-to’ guides
- 73. Spring Boot Application
- 74. Properties and Configuration
- 74.1 Automatically Expand Properties at Build Time
- 74.2 Externalize the Configuration of SpringApplication
- 74.3 Change the Location of External Properties of an Application
- 74.4 Use ‘Short’ Command Line Arguments
- 74.5 Use YAML for External Properties
- 74.6 Set the Active Spring Profiles
- 74.7 Change Configuration Depending on the Environment
- 74.8 Discover Built-in Options for External Properties
- 75. Embedded Web Servers
- 75.1 Use Another Web Server
- 75.2 Disabling the Web Server
- 75.3 Change the HTTP Port
- 75.4 Use a Random Unassigned HTTP Port
- 75.5 Discover the HTTP Port at Runtime
- 75.6 Enable HTTP Response Compression
- 75.7 Configure SSL
- 75.8 Configure HTTP/2
- 75.9 Configure the Web Server
- 75.10 Add a Servlet, Filter, or Listener to an Application
- 75.11 Configure Access Logging
- 75.12 Running Behind a Front-end Proxy Server
- 75.13 Enable Multiple Connectors with Tomcat
- 75.14 Use Tomcat’s LegacyCookieProcessor
- 75.15 Enable Multiple Listeners with Undertow
- 75.16 Create WebSocket Endpoints Using @ServerEndpoint
- 76. Spring MVC
- 77. Jersey
- 78. HTTP Clients
- 79. Logging
- 80. Data Access
- 80.1 Configure a Custom DataSource
- 80.2 Configure Two DataSources
- 80.3 Use Spring Data Repositories
- 80.4 Separate @Entity Definitions from Spring Configuration
- 80.5 Configure JPA Properties
- 80.6 Configure Hibernate Naming Strategy
- 80.7 Use a Custom EntityManagerFactory
- 80.8 Use Two EntityManagers
- 80.9 Use a Traditional persistence.xml File
- 80.10 Use Spring Data JPA and Mongo Repositories
- 80.11 Expose Spring Data Repositories as REST Endpoint
- 80.12 Configure a Component that is Used by JPA
- 80.13 Configure jOOQ with Two DataSources
- 81. Database Initialization
- 82. Messaging
- 83. Batch Applications
- 84. Actuator
- 85. Security
- 86. Hot Swapping
- 87. Build
- 87.1 Generate Build Information
- 87.2 Generate Git Information
- 87.3 Customize Dependency Versions
- 87.4 Create an Executable JAR with Maven
- 87.5 Use a Spring Boot Application as a Dependency
- 87.6 Extract Specific Libraries When an Executable Jar Runs
- 87.7 Create a Non-executable JAR with Exclusions
- 87.8 Remote Debug a Spring Boot Application Started with Maven
- 87.9 Build an Executable Archive from Ant without Using spring-boot-antlib
- 88. 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