diff --git a/docs/connect/clients/java/_index.md b/docs/connect/clients/java/_index.md new file mode 100644 index 000000000..4c0e6a10f --- /dev/null +++ b/docs/connect/clients/java/_index.md @@ -0,0 +1,11 @@ +--- +title: "Connect with Redis Java clients" +linkTitle: "Java clients" +description: Connect your application to a Redis database using Java and try an example +weight: 3 +--- + +You have two choices of Java clients that you can use with Redis: + +- Jedis, for synchronous applications. +- Lettuce, for asynchronous and reactive applications. diff --git a/docs/connect/clients/java.md b/docs/connect/clients/java/java.md similarity index 97% rename from docs/connect/clients/java.md rename to docs/connect/clients/java/java.md index abe3b13d7..0ef99cf03 100644 --- a/docs/connect/clients/java.md +++ b/docs/connect/clients/java/java.md @@ -2,7 +2,7 @@ title: "Java guide" linkTitle: "Java" description: Connect your Java application to a Redis database -weight: 3 +weight: 1 aliases: - /docs/clients/java/ - /docs/redis-clients/java/ diff --git a/docs/connect/clients/lettuce.md b/docs/connect/clients/java/lettuce.md similarity index 99% rename from docs/connect/clients/lettuce.md rename to docs/connect/clients/java/lettuce.md index 5e94ac449..47b182c5c 100644 --- a/docs/connect/clients/lettuce.md +++ b/docs/connect/clients/java/lettuce.md @@ -2,7 +2,7 @@ title: "Lettuce guide" linkTitle: "Lettuce" description: Connect your Lettuce application to a Redis database -weight: 3 +weight: 2 --- Install Redis and the Redis client, then connect your Lettuce application to a Redis database.