From the course: Building APIs with Swagger and the OpenAPI Specification
Unlock the full course today
Join today to access over 24,100 courses taught by industry experts.
Packaging the API implementation - REST Tutorial
From the course: Building APIs with Swagger and the OpenAPI Specification
Packaging the API implementation
- [Instructor] Once we've built out our API implementation, we'll need to package the API for deployment to a server. Luckily, we're using Maven, which makes it extremely easy to package our software. Just right-click on your project and then go to Run As, then Maven build. Within the dialogue box, we need to specify two Maven goals. So, specify the clean goal and then the package goal. We'll also need to select the Skip Test option and then we need to ensure that we're running our Maven build using a JDK. To do this, click on the JRE tab and then click on Alternate JRE. You'll notice we're set up to run with a JRE, so we can go to this installed JREs button and here we can add a JDK. So click on Standard VM and then hit Next and now we'll use the Directory button to search for our JDK. My JDK is installed within C:\ProgramFiles\Java\jdk1.8.0_211. All I need to do is select this folder and Eclipse will load the JDK. Then we need to click on the JDK in order to use it within our Run…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Project architecture3m
-
(Locked)
Generating server stubs and client SDKs1m 48s
-
(Locked)
Building an API client3m 10s
-
(Locked)
Client SDK internals1m 24s
-
(Locked)
API implementation7m 53s
-
(Locked)
Packaging the API implementation2m
-
(Locked)
Hosting APIs in Azure3m 23s
-
(Locked)
API server setup5m 16s
-
(Locked)
Publishing public APIs3m 8s
-
(Locked)
API management with Apigee6m 18s
-
(Locked)
Monitoring API usage1m 59s
-
(Locked)
Client modifications2m 47s
-
(Locked)
-