-
Couldn't load subscription status.
- Fork 216
Add IceGrid/icebox Java demo #625
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 Java demo for IceGrid/icebox, which demonstrates how to deploy an IceBox server using IceGrid. The demo showcases a distributed application with a Greeter service running in an IceBox container managed by IceGrid.
Key changes:
- Creates a complete IceGrid/icebox demo with client, service, and server components
- Implements a Greeter service that provides personalized greetings through Ice RPC
- Provides IceGrid deployment configuration and setup documentation
Reviewed Changes
Copilot reviewed 19 out of 20 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
java/IceGrid/icebox/slice/Greeter.ice |
Slice interface definition for the Greeter service |
java/IceGrid/icebox/service/src/main/java/com/example/icegrid/icebox/service/GreeterService.java |
IceBox service implementation that hosts the Greeter |
java/IceGrid/icebox/service/src/main/java/com/example/icegrid/icebox/service/Chatbot.java |
Chatbot servant implementing the Greeter interface |
java/IceGrid/icebox/client/src/main/java/com/example/icegrid/icebox/client/Client.java |
Client application that connects to the Greeter service |
java/IceGrid/icebox/greeter-hall.xml |
IceGrid application deployment descriptor |
java/IceGrid/icebox/README.md |
Documentation for building and running the demo |
| Various build files | Gradle build configuration and wrapper scripts |
| Various config files | IceGrid registry, node, and admin configuration |
.../IceGrid/icebox/service/src/main/java/com/example/icegrid/icebox/service/GreeterService.java
Show resolved
Hide resolved
|
|
||
| - **client** — the client application (uses the Gradle [application plugin]). | ||
| - **service** — the Greeter service implementation (uses the [java-library plugin]). | ||
| - **iceboxserver** — a launcher for the IceBox server (uses the Gradle [application plugin]). |
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.
Why do we need this iceboxserver? The IceGrid XML config doesn't use it.
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.
We have this project for the distribution it creates, from the deployment:
<option>--class-path</option>
<option>iceboxserver/build/install/iceboxserver/lib/*</option>
No description provided.