Book Image

Scalable Java 9 for the Connected Web [Video]

By : Andrei Ruse
Book Image

Scalable Java 9 for the Connected Web [Video]

By: Andrei Ruse

Overview of this book

<p><span id="description" class="sugar_field">Java 9 is an all-new module system and comes with a rich feature set. The new language concepts, new APIs, and diagnostic commands will definitely be of interest to developers.</span></p> <p><span id="description" class="sugar_field">The course will teach you to build your own REST API using the Spring Boot framework, and to consume data from an external API, by leveraging the REST and HTTP 2.0 protocols in a Java 9 application. This example will see us build a sentiment analyzer service that leverages the Google Cloud Sentiment Analysis API to provide sentiment information. We will start by building a simple wrapper around the Google Sentiment API, before starting to store requests in a text file and adding some statistical functionality to our requests. </span></p> <p><span id="description" class="sugar_field">By the end of the course, you will have discovered the world of Java 9 programming using real-world examples.</span></p> <h2><span class="sugar_field">Style and Approach</span></h2> <p><span class="sugar_field"><span id="trade_selling_points_c" class="sugar_field">A practical course packed with step-by-step instructions, working examples, and helpful advice to get connected to the web using Java 9. This course is clearly divided into small chunks that will help you understand each part individually and learn at your own pace.</span></span></p>
Table of Contents (3 chapters)
Chapter 3
Enriching Our API
Content Locked
Section 2
Implementing APIs for Some Statistics Methods
We will now discuss further enhancing our REST API design, in order to support more user-facing features, such as word count, request count, or various other sentiment scoring functions. We will always explain the REST way of designing the API, by contrast with other options we may have. - Learn how we design our API to enable word count calculation - Discuss how do we design our API to enable request count statistics - See how we design our API to enable sentiment scoring functionality