Skip to content

Conversation

@pepone
Copy link
Member

@pepone pepone commented Sep 26, 2025

No description provided.

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 new IceGrid query Java demo that demonstrates how to use the IceGrid registry's Query object to lookup well-known objects by type. The demo implements a simple greeter service deployed using IceGrid with multiple server instances and a client that queries for available greeters.

  • Complete Java implementation of an IceGrid query demo with client/server architecture
  • IceGrid configuration files for registry, node, and admin components
  • Gradle build system with proper dependency management and plugin configuration

Reviewed Changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
java/IceGrid/query/slice/Greeter.ice Defines the Slice interface for the Greeter service
java/IceGrid/query/settings.gradle.kts Root Gradle settings with nightly repository configuration
java/IceGrid/query/server/src/main/java/com/example/icegrid/query/server/Server.java Main server application that creates and registers greeter servants
java/IceGrid/query/server/src/main/java/com/example/icegrid/query/server/Chatbot.java Implements the Greeter interface as a chatbot servant
java/IceGrid/query/server/build.gradle.kts Server module Gradle build configuration
java/IceGrid/query/greeter-hall.xml IceGrid application descriptor defining server templates and deployment
java/IceGrid/query/gradlew.bat Gradle wrapper script for Windows
java/IceGrid/query/gradlew Gradle wrapper script for Unix/Linux
java/IceGrid/query/gradle/wrapper/gradle-wrapper.properties Gradle wrapper properties
java/IceGrid/query/db/registry/.gitignore Git ignore file for registry database files
java/IceGrid/query/db/node/.gitignore Git ignore file for node database files
java/IceGrid/query/config.registry IceGrid registry configuration
java/IceGrid/query/config.node IceGrid node configuration
java/IceGrid/query/config.admin IceGrid admin configuration
java/IceGrid/query/client/src/main/java/com/example/icegrid/query/client/Client.java Client application that queries and invokes greeter services
java/IceGrid/query/client/build.gradle.kts Client module Gradle build configuration
java/IceGrid/query/README.md Documentation explaining how to build and run the demo
java/IceGrid/query/.gitignore Git ignore file for Gradle build artifacts


- Install IceGrid. See [Ice service installation].

## Building the Project
Copy link
Member

Choose a reason for hiding this comment

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

Should be Building the demo

}

// Implements the abstract method 'greet' from the Greeter interface generated by the Slice compiler.
// This variant is the synchronous implementation.
Copy link
Member

Choose a reason for hiding this comment

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

No variant!

@pepone pepone merged commit 6e30c56 into zeroc-ice:main Sep 27, 2025
14 of 16 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.

3 participants