-
Couldn't load subscription status.
- Fork 216
Add IceGrid/query Java demo #627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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 |
java/IceGrid/query/server/src/main/java/com/example/icegrid/query/server/Server.java
Show resolved
Hide resolved
java/IceGrid/query/README.md
Outdated
|
|
||
| - Install IceGrid. See [Ice service installation]. | ||
|
|
||
| ## Building the Project |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No variant!
No description provided.