From the course: Learning JVM Languages: JVM, Java, Scala

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Creating a web service in Java

Creating a web service in Java

- [Instructor] Welcome to second video of this section, Creating a Web Service in Java. In the previous video, we configured Eclipse IDE. In this video, we'll create a simple web service in Java using the test-driven development approach. The steps what we'll follow are creating the project in Eclipse IDE, modifying the Gradle build file, coding the backend class, and coding the web service code. Let's start with the first step. We'll create a Gradle project and then examine the generated project. Start Eclipse IDE if not already running. If necessary, acknowledge the workspace directory. This will be the root directory where Eclipse will create new projects and look for existing ones. Eclipse IDE's Welcome tab will now be displayed. As it does not offer a shortcut for creating new Gradle-based projects, we'll ignore it for now. To create a Gradle project, from the File menu, move to New, and choose Project. Be sure not to select Java Project, or Gradle will not be used for building…

Contents