: Network Disk Download
Content Introduction· · · · · ·
Centered on spring application development, this book provides a comprehensive overview of how to use spring boot to improve efficiency and make application development and management easier and more fun. The authors are fluent in a number of examples that illustrate spring boot's application in a variety of contexts, including start-up dependencies, Spring boot CLI, Groovy, Grails, actuator. For spring boot development application of the more cumbersome content, the appendix of the completed form, at a glance, convenient for readers to check.
Author profile ...
Craig Walls
Pivotal Senior Engineer, spring Social and Spring Sync Project leader, renowned technology blogger, author of the best-selling spring combat. He is committed to promoting the spring framework, his pen, and often attends various conferences as speakers.
Translator Profile:
Jonathan Allen senior Development and Operations engineer, active technical book translator, is committed to promoting the development of excellent technology in the country, published "Spring Raiders" "MongoDB Combat" "RESTful Web Service Cookbook Chinese Version" and other 6 translations.
Catalogue # 1th INTRODUCTION 1
1.1 Spring winds up another 1
1.1.1 Re-understanding Spring 2
1.1.2 Spring Boot Essentials 3
1.1.3 Spring Boot is not what 6
1.2 Spring Boot Primer 6
1.2.1 Installing spring Boot CLI 7
1.2.2 using spring Initializr to initialize Spring boot project 10
1.3 Summary 18
2nd development of the first application 19
2.1 Using Spring Boot 19
2.1.1 Viewing the initialized spring boot new Project 21
2.1.2 Spring Boot Project build process resolution 24
2.2 Using Start-up dependency 27
2.2.1 Specifying feature-based dependencies 28
2.2.2 Cover start dependency introduced by the delivery dependency 29
2.3 Using Automatic Configuration 30
2.3.1 Focus on application features 31
2.3.2 Running the application 36
2.3.3, what just happened? 38
2.4 Summary 41
3rd. Custom Configuration 42
3.1 Overwrite spring boot automatic configuration 42
3.1.1 Protection Application 43
3.1.2 Creating a custom security Configuration 44
3.1.3 The mysterious veil of automatic configuration 48
3.2 External configuration via properties file 49
3.2.1 Automatic Configuration Tuning 50
3.2.2 Configuration of application beans external 55
3.2.3 Configuring with Profile 59
3.3 Custom Application Error page 62
3.4 Summary 64
Chapter 4th Test 66
4.1 Integrated test automatic Configuration 66
4.2 Testing the Web application 68
4.2.1 Simulating Spring MVC 69
4.2.2 Testing Web Security 72
4.3 Testing a running application 74
4.3.1 starting server 75 with a random port
4.3.2 using selenium to test HTML pages 76
4.4 Summary 78
5th Groovy and Spring Boot CLI 80
5.1 Developing the Spring Boot CLI application 80
5.1.1 Setting up the CLI project 81
5.1.2 Eliminating code noise with groovy 81
5.1.3 What's going on 85
5.2 Get Dependency 86
5.2.1 overriding default dependent version 87
5.2.2 Adding dependent warehouses 88
5.3 Running the test with the CLI 89
5.4 Creating a deployable product 91
5.5 Summary 91
The 6th Chapter uses grails 93 in spring boot
6.1 Data persistence with Gorm 93
6.2 Defining views with groovy Server pages 98
6.3 Combining spring boot with grails 3 100
6.3.1 Creating a new Grails Project 100
6.3.2 Defining a domain Model 103
6.3.3 Developing Grails Controllers 104
6.3.4 Creating a View 105
6.4 Summary 107
7th chapter in-depth actuator 108
7.1 Revealing the endpoint of actuator 108
7.1.1 View configuration Details 109
7.1.2 Run-time metric 115
7.1.3 Closing Applications 121
7.1.4 Getting application Information 121
7.2 Remote shell connecting the actuator 122
7.2.1 View AutoConfig Report 123
7.2.2 listing the application's Bean 124
7.2.3 Viewing measurement information for an application 124
7.2.4 Calling Actuator Endpoint 125
7.3 Monitoring applications via JMX 126
7.4 Custom Actuator 128
7.4.1 Modifying endpoint ID 128
7.4.2 Enabling and disabling endpoint 129
7.4.3 Adding custom metric information 129
7.4.4 Creating a custom tracking warehouse 132
7.4.5 inserting a custom health indicator 134
7.5 Securing the Actuator Endpoint 136
7.6 Summary 138
8th. Deploy Spring Boot Application 139
8.1 Measuring multiple deployment methods 139
8.2 Deployment to Application Server 140
8.2.1 Building a war file 141
8.2.2 Creating Production Profile 142
8.2.3 Turning on database migration 145
8.3 Push the Cloud 150
8.3.1 deploy to Cloud Foundry 150
8.3.2 Deployment to Heroku 153
8.4 Summary 155
Appendix A Spring Boot developer tools 157
Appendix B Spring Boot start dependent 163
Appendix C Configuration Properties 169
Appendix D Spring Boot Dependency 202
: Network Disk Download
Spring Boot Combat PDF