Skip to main content
Skip table of contents

Greeter Example

In this example, we illustrate the basics of Ice by building a simple application with it. We’ll cover how to define operations using the Slice IDL, how to create a server that implements those operations, and finally, how to write a client which invokes those operations.

The application’s scope is small: a single server that receives names, and returns a greeting based on the provided name: “Hello, <name>!”. Even though this application is simple, it shows best practices, and provides a good model for starting any project with Ice!

A complete, working implementation of this example can be found on Github.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.