Просмотр исходного кода

Add new macro, revise sidebar.

-Add build_an_executable_jar_subhead to README.ftl.md
-Revise Summary per language for other summaries
-Revise SIDEBAR.md per language for other Related Resources
-Revise "Understanding" to "Concepts and Technologies" per others
Beverley Talbott 13 лет назад
Родитель
Сommit
2e654a5b07
2 измененных файлов: 6 добавлений и 5 удалений
  1. 4
    3
      README.ftl.md
  2. 2
    2
      SIDEBAR.md

+ 4
- 3
README.ftl.md Просмотреть файл

@@ -102,7 +102,7 @@ Make the application executable
102 102
 
103 103
 Although it is possible to package this service as a traditional [WAR][u-war] file for deployment to an external application server, the simpler approach demonstrated below creates a standalone application. You package everything in a single, executable JAR file, driven by a good old Java `main()` method. Along the way, you use Spring's support for embedding the [Tomcat][u-tomcat] servlet container as the HTTP runtime, instead of deploying to an external instance.
104 104
 
105
-### Create a main class
105
+### Create an Application class
106 106
 
107 107
     <@snippet path="src/main/java/hello/Application.java" prefix="complete"/>
108 108
 
@@ -112,7 +112,9 @@ The `@ComponentScan` annotation tells Spring to search recursively through the `
112 112
 
113 113
 The [`@EnableAutoConfiguration`][] annotation switches on reasonable default behaviors based on the content of your classpath. For example, because the application depends on the embeddable version of Tomcat (tomcat-embed-core.jar), a Tomcat server is set up and configured with reasonable defaults on your behalf. And because the application also depends on Spring MVC (spring-webmvc.jar), a Spring MVC [`DispatcherServlet`][] is configured and registered for you — no `web.xml` necessary! Auto-configuration is a powerful, flexible mechanism. See the [API documentation][`@EnableAutoConfiguration`] for further details.
114 114
 
115
-### <@build_an_executable_jar/>
115
+<@build_an_executable_jar_subhead/>
116
+
117
+<@build_an_executable_jar/>
116 118
 
117 119
 <@run_the_application module="service"/>
118 120
 
@@ -140,7 +142,6 @@ Summary
140 142
 
141 143
 Congratulations! You've just developed a RESTful web service with Spring. 
142 144
 
143
-To see what else you can do with Spring and RESTful web services, see [Related Resources](TODO).
144 145
 
145 146
 
146 147
 [u-rest]: /understanding/rest

+ 2
- 2
SIDEBAR.md Просмотреть файл

@@ -1,6 +1,6 @@
1 1
 ## Related Resources
2 2
 
3
-Do more with Spring and RESTful web services:
3
+There's more to building RESTful web services than is covered here. You may want to continue your exploration of Spring and REST with the following resources.
4 4
 
5 5
 ### Getting Started Guides
6 6
 
@@ -22,7 +22,7 @@ Do more with Spring and RESTful web services:
22 22
 
23 23
 [tut-tbd]: /guides/tutorials/tbd
24 24
 
25
-### Understanding
25
+### Concepts and Technologies
26 26
 
27 27
 * [REST][u-rest]
28 28
 * [JSON][u-json]