Spring Boot Reference Guide V2.0.0.Build Snapshot Phillip Webb
User Manual:
Open the PDF directly: View PDF
Page Count: 353 [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 JAX-RS and Jersey
- 27.3 Embedded servlet container support
- 28. Security
- 29. Working with SQL databases
- 30. Working with NoSQL technologies
- 31. Caching
- 32. Messaging
- 33. Calling REST services
- 34. Validation
- 35. Sending email
- 36. Distributed Transactions with JTA
- 37. Hazelcast
- 38. Spring Integration
- 39. Spring Session
- 40. Monitoring and management over JMX
- 41. Testing
- 41.1 Test scope dependencies
- 41.2 Testing Spring applications
- 41.3 Testing Spring Boot applications
- Detecting test configuration
- Excluding test configuration
- Working with random ports
- Mocking and spying beans
- Auto-configured tests
- Auto-configured JSON tests
- Auto-configured Spring MVC tests
- Auto-configured Data JPA tests
- Auto-configured JDBC tests
- Auto-configured REST clients
- Auto-configured Spring REST Docs tests
- Using Spock to test Spring Boot applications
- 41.4 Test utilities
- 42. WebSockets
- 43. Web Services
- 44. Creating your own auto-configuration
- 45. What to read next
- Part V. Spring Boot Actuator: Production-ready features
- 46. Enabling production-ready features
- 47. Endpoints
- 48. Monitoring and management over HTTP
- 49. Monitoring and management over JMX
- 50. Loggers
- 51. Metrics
- 51.1 System metrics
- 51.2 DataSource metrics
- 51.3 Cache metrics
- 51.4 Tomcat session metrics
- 51.5 Recording your own metrics
- 51.6 Adding your own public metrics
- 51.7 Special features with Java 8
- 51.8 Metric writers, exporters and aggregation
- 51.9 Aggregating metrics from multiple sources
- 51.10 Dropwizard Metrics
- 51.11 Message channel integration
- 52. Auditing
- 53. Tracing
- 54. Process monitoring
- 55. Cloud Foundry support
- 56. What to read next
- Part VI. Deploying Spring Boot applications
- Part VII. Spring Boot CLI
- 60. Installing the CLI
- 61. Using the CLI
- 62. Developing application with the Groovy beans DSL
- 63. Configuring the CLI with settings.xml
- 64. What to read next
- Part VIII. Build tool plugins
- 65. Spring Boot Maven plugin
- 66. Spring Boot Gradle plugin
- 66.1 Including the plugin
- 66.2 Gradle dependency management
- 66.3 Packaging executable jar and war files
- 66.4 Running a project in-place
- 66.5 Spring Boot plugin configuration
- 66.6 Repackage configuration
- 66.7 Repackage with custom Gradle configuration
- 66.8 Understanding how the Gradle plugin works
- 66.9 Publishing artifacts to a Maven repository using Gradle
- 67. Spring Boot AntLib module
- 68. Supporting other build systems
- 69. What to read next
- Part IX. ‘How-to’ guides
- 70. Spring Boot application
- 71. Properties & configuration
- 71.1 Automatically expand properties at build time
- 71.2 Externalize the configuration of SpringApplication
- 71.3 Change the location of external properties of an application
- 71.4 Use ‘short’ command line arguments
- 71.5 Use YAML for external properties
- 71.6 Set the active Spring profiles
- 71.7 Change configuration depending on the environment
- 71.8 Discover built-in options for external properties
- 72. Embedded servlet containers
- 72.1 Add a Servlet, Filter or Listener to an application
- 72.2 Change the HTTP port
- 72.3 Use a random unassigned HTTP port
- 72.4 Discover the HTTP port at runtime
- 72.5 Configure SSL
- 72.6 Configure Access Logging
- 72.7 Use behind a front-end proxy server
- 72.8 Configure Tomcat
- 72.9 Enable Multiple Connectors with Tomcat
- 72.10 Use Tomcat’s LegacyCookieProcessor
- 72.11 Use Jetty instead of Tomcat
- 72.12 Configure Jetty
- 72.13 Use Undertow instead of Tomcat
- 72.14 Configure Undertow
- 72.15 Enable Multiple Listeners with Undertow
- 72.16 Use Tomcat 7.x or 8.0
- 72.17 Use Jetty 9.2
- 72.18 Use Jetty 8
- 72.19 Create WebSocket endpoints using @ServerEndpoint
- 72.20 Enable HTTP response compression
- 73. Spring MVC
- 73.1 Write a JSON REST service
- 73.2 Write an XML REST service
- 73.3 Customize the Jackson ObjectMapper
- 73.4 Customize the @ResponseBody rendering
- 73.5 Handling Multipart File Uploads
- 73.6 Switch off the Spring MVC DispatcherServlet
- 73.7 Switch off the Default MVC configuration
- 73.8 Customize ViewResolvers
- 73.9 Use Thymeleaf 3
- 74. HTTP clients
- 75. Logging
- 76. Data Access
- 76.1 Configure a DataSource
- 76.2 Configure Two DataSources
- 76.3 Use Spring Data repositories
- 76.4 Separate @Entity definitions from Spring configuration
- 76.5 Configure JPA properties
- 76.6 Use a custom EntityManagerFactory
- 76.7 Use Two EntityManagers
- 76.8 Use a traditional persistence.xml
- 76.9 Use Spring Data JPA and Mongo repositories
- 76.10 Expose Spring Data repositories as REST endpoint
- 76.11 Configure a component that is used by JPA
- 77. Database initialization
- 78. Messaging
- 79. Batch applications
- 80. Actuator
- 81. Security
- 82. Hot swapping
- 83. Build
- 83.1 Generate build information
- 83.2 Generate git information
- 83.3 Customize dependency versions
- 83.4 Create an executable JAR with Maven
- 83.5 Use a Spring Boot application as a dependency
- 83.6 Extract specific libraries when an executable jar runs
- 83.7 Create a non-executable JAR with exclusions
- 83.8 Remote debug a Spring Boot application started with Maven
- 83.9 Remote debug a Spring Boot application started with Gradle
- 83.10 Build an executable archive from Ant without using spring-boot-antlib
- 83.11 How to use Java 6
- 84. Traditional deployment
- Part X. Appendices
- Appendix A. Common application properties
- Appendix B. Configuration meta-data
- Appendix C. Auto-configuration classes
- Appendix D. Test auto-configuration annotations
- Appendix E. The executable jar format
- Appendix F. Dependency versions