Skip to content

Conversation

@bsbodden
Copy link
Contributor

The project uses JJava, a Jupyter kernel for Java based on JShell. This allows for interactive Java development in Jupyter notebooks.

Key components:

Java 21 for modern Java features
Maven for dependency management
JJava kernel for Jupyter integration

Currently 1 notebook showing RAG with Redis ann Spring AI

@bsbodden bsbodden force-pushed the bsb/java-resources branch from 72b9801 to 902bdb0 Compare March 20, 2025 15:03
@bsbodden bsbodden requested review from Copilot and rbs333 March 20, 2025 15:03
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a self-contained Docker environment for the Java recipes project by introducing necessary configuration files and setup instructions. Key changes include:

  • A comprehensive README outlining setup, running, and project structure details.
  • A new docker-compose.yml file to orchestrate the Jupyter and Redis containers.
  • An installation script (install.py) to configure the Java Jupyter kernel along with an environment specification file for Conda.

Reviewed Changes

Copilot reviewed 7 out of 11 changed files in this pull request and generated no comments.

File Description
java-recipes/README.md Adds detailed setup and usage instructions; note a potential directory name inconsistency.
java-recipes/docker-compose.yml Introduces container definitions for Jupyter and Redis.
java-recipes/jupyter/install.py Provides installation logic for the Java kernel; contains a minor spelling error in help text.
java-recipes/jupyter/environment.yml Adds Conda environment dependencies for the Jupyter container.
Files not reviewed (4)
  • .github/ignore-notebooks.txt: Language not supported
  • java-recipes/jupyter/Dockerfile: Language not supported
  • java-recipes/jupyter/java/kernel.json: Language not supported
  • java-recipes/jupyter/java/pom.xml: Language not supported
Comments suppressed due to low confidence (2)

java-recipes/README.md:50

  • [nitpick] The directory name 'java-resources' appears inconsistent with the project folder 'java-recipes'. Please verify and update the directory name for clarity.
cd redis-ai-resources/java-resources

java-recipes/jupyter/install.py:133

  • The word 'seperator' is misspelled; it should be corrected to 'separator'.
help="A file path seperator delimited list of `.jshell` scripts to run on startup. This includes ijava-jshell-init.jshell and ijava-display-init.jshell. **Important:** no matter what OS, this should use forward slash "/" as the file separator. Also each path may actually be a simple glob."

Copy link
Collaborator

@tylerhutcherson tylerhutcherson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really solid, Brian! I left a note or two about the readme and we should make sure to link to this from the main readme.

Once this gets merged in, let's make some noise in the spring community by sharing with maintainers, or other java spaces, and getting their eyeballs on this whole repo! Great work!

@bsbodden bsbodden force-pushed the bsb/java-resources branch from 902bdb0 to 0c4e3e6 Compare March 24, 2025 13:45
@bsbodden bsbodden merged commit fae5e7e into redis-developer:main Mar 24, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants