Greeter Example
In this example, we'll demonstrate Ice fundamentals by building a simple greeter application. You'll learn three key concepts:
Using Slice - How to use the Slice IDL to define a custom, application-specific contract between client applications and Ice objects hosted in server applications.
Writing a client - How to write a client that communicates with these Ice objects.
Writing a server - How to write a server that implements and hosts these Ice objects.
This Greeter application's scope is small: a server that hosts a single Ice object, with a single operation that receives names and returns greetings, and a single client that exercises it. Even though this application is simple, it demonstrates best practices and provides a good foundation for starting any Ice project.
You can find the complete source code for this example on Github, alongside several other demo programs.