In this guide, we are going to create a sample HTTP service. You can read the Core or HTTP Server modules documentation for more information. You can use both Gradle and Maven to build your application.
1 2 3 4 5
1 2 3 4 5
- Write the code in the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
- Run the service and view the results at: http://localhost:2010/hello/world
If you use Gradle, you can use the Application Helper and run the application watching for
changes with the command:
./gradlew watch -t
These are the details of the public key:
You may find a deprecated public key in public GPG key servers (check the details below). Please, ignore it and use the above one. The information about the obsolete is:
To continue learning about this toolkit, you can:
- Check the Developer Guide for more details.
- Clone the Gradle Starter or Maven Starter repository for a minimal fully working example (including tests).
- Proceed to the Examples section to check code snippets or full example projects.