...

/

Setting up the Java Client

Setting up the Java Client

A walk-through of Java client setup using SignalR library.

Overview

Like .NET 6, Java is a universal language that can be used on any popular operating system. After Java, we need to install Gradle or Maven. They work differently, but the outcome will be roughly the same.

Press + to interact
Java used with different technologies
Java used with different technologies

We'll use the Maven package repository to download our SignalR client library. But Gradle can access it too. Therefore, it doesn’t matter which build tool we use. It’s outside the scope of this course to provide detailed instructions on how to install and use either Gradle or Maven. But references to detailed user manuals are available in the appendix.

Note: Java SDK and Gradle are pre-installed on Educative’s platform. You don’t need to install anything. We will use Gradle to download our SignalR client library.

Setting up a Java project

...