Browse Source

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 years ago
parent
commit
2e654a5b07
2 changed files with 6 additions and 5 deletions
  1. 4
    3
      README.ftl.md
  2. 2
    2
      SIDEBAR.md

+ 4
- 3
README.ftl.md View File

102
 
102
 
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.
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
     <@snippet path="src/main/java/hello/Application.java" prefix="complete"/>
107
     <@snippet path="src/main/java/hello/Application.java" prefix="complete"/>
108
 
108
 
112
 
112
 
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.
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
 <@run_the_application module="service"/>
119
 <@run_the_application module="service"/>
118
 
120
 
140
 
142
 
141
 Congratulations! You've just developed a RESTful web service with Spring. 
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
 [u-rest]: /understanding/rest
147
 [u-rest]: /understanding/rest

+ 2
- 2
SIDEBAR.md View File

1
 ## Related Resources
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
 ### Getting Started Guides
5
 ### Getting Started Guides
6
 
6
 
22
 
22
 
23
 [tut-tbd]: /guides/tutorials/tbd
23
 [tut-tbd]: /guides/tutorials/tbd
24
 
24
 
25
-### Understanding
25
+### Concepts and Technologies
26
 
26
 
27
 * [REST][u-rest]
27
 * [REST][u-rest]
28
 * [JSON][u-json]
28
 * [JSON][u-json]