Microservice development
In this section, we are going to develop a simple web application, listening on TCP/80
, with a REST endpoint to return the application name and version information. When a user makes a call to the application /info
endpoint, it will read the application name and version number from the properties
file and return that information to the user’s browser. Before we start setting up the development environment, let’s look at the tools and technologies that we are going to use.
Tools and technologies used
We will be using the Java programming language to develop this web application. Spring Framework is a leading web development framework, so we will be using this to develop our REST endpoint. Maven is a dependency management tool that we will use to build our application. We need a source code editor to write the source code; here, we will be using the Visual Studio Code (VS Code) provided by the Microsoft community. Now that we have a fair idea...