|
167
|
To run the sample, issue the following Gradle command:
|
167
|
To run the sample, issue the following Gradle command:
|
|
171
|
This will cause the application to be compiled and for a Jetty server to start on port 8080. You can then point your browser or other REST client (such as Spring's RestTemplate or the Spring REST Shell) at http://localhost:8080/HelloWorldRest/hello-world to see the result. Or you can try specifying a name parameter as in http://localhost:8080/HelloWorldRest/hello-world?name=Craig.
|
173
|
This will cause the application to be compiled and for a Jetty server to start on port 8080. You can then point your browser or other REST client (such as Spring's RestTemplate or the Spring REST Shell) at http://localhost:8080/HelloWorldRest/hello-world to see the result. Or you can try specifying a name parameter as in http://localhost:8080/HelloWorldRest/hello-world?name=Craig.
|
|
173
|
If you simply want to build the code into a WAR file that you can deploy in your own server, issue the following Gradle command:
|
175
|
If you simply want to build the code into a WAR file that you can deploy in your own server, issue the following Gradle command:
|