You will use a simple approach to building a stand-alone application. It packages everything into a single, executable JAR file, driven by a
main() method. Along the way, you use Spring's support for embedding the Jetty servlet container as the HTTP runtime, instead of deploying it to an external instance. Therefore, we would create the executable JAR in place of the war that needs to be deployed on external web servers.
Now, as you are ready with Spring Boot in NetBeans IDE, you could create your sample web service. You will create a Math API that performs simple calculations and generates the result as JSON.
Let's discuss how we can call and get responses from REST services.
The service will handle GET requests for /calculation/sqrt ...