# Java client for Redis

```json metadata
{
  "schema_version": 2,
  "title": "Java client for Redis",
  "description": "Learn how to build with Redis and Java",
  "categories": ["docs","integrate","oss","rs","rc"],
  "group": "library",
  "tableOfContents": {"sections":[{"id":"overview","title":"Overview"},{"id":"key-features","title":"Key Features"},{"id":"getting-started","title":"Getting Started"}]}

,
  "codeExamples": []
}
```


Connect your Java application to a Redis database using the Jedis client library.

## Overview

Jedis is a popular Java client for Redis that provides a simple, synchronous interface for Redis operations. It offers comprehensive Redis command support and is widely used in Java applications for its straightforward API and reliable performance.

## Key Features

- **Synchronous Operations**: Simple, blocking API that's easy to understand and use
- **Complete Redis Support**: Full coverage of all Redis commands and data types
- **Connection Pooling**: Built-in connection pool management for multi-threaded applications
- **Redis Cluster**: Native support for Redis Cluster deployments
- **Sentinel Support**: High availability with Redis Sentinel integration
- **Pipeline Support**: Command batching for improved performance
- **Pub/Sub**: Real-time messaging with Redis publish/subscribe
- **Thread Safety**: Safe connection pooling for concurrent Java applications

## Getting Started

Refer to the complete [Jedis guide](https://redis.io/docs/latest/develop/clients/jedis) to install, connect, and use Jedis.

