1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
RPM Notes
=========
When installing from RPMs, the demos for a particular language mapping
are included with the appropriate 'devel' RPM. For example, the Java
demos are included in the ice-java-devel RPM.
We recommend that you copy the demo subdirectories from the RPM
installation directory to your home directory.
Building the Demos
==================
These instructions assume that you have correctly configured your
environment according to the directions in the README or platform-
specific INSTALL file included with your Ice installation.
You can build the demos by visiting each demo directory (e.g., demo,
demoj, democs) and running 'gmake' or 'ant' as appropriate. The Ice
for Python demos do not need to be compiled.
gmake 3.80 is required to build the C++ and C# demos. The 'ant'
utility is required to build the Java demos, and can be downloaded
from
http://ant.apache.org/bindownload.cgi
Ice requires ant 1.6.1 or later, but we recommend using the most
recent release.
Running the Ice Demos
=====================
Most demos consist of a single server and client. The instructions to
run a demo depend on the programming language. Instructions for each
language are included below. Some demo directories contain README
files if additional steps are necessary.
Running the C++ demos
=====================
To run a demo, open a terminal terminal window, change to the desired
demo directory, and enter the following command to run the server:
$ ./server
To run the client, open another terminal window, also change to the
desired demo directory, and run:
$ ./client
Running the Java demos
======================
To run the demos you need to add classes to your CLASSPATH.
export CLASSPATH=classes:$CLASSPATH
To run a demo, open a terminal window, change to the desired demo
directory, and enter the following command to run the server:
$ java Server
To run the client, open another terminal window, also change to the
desired demo directory, and run:
$ java Client
Running the C# demos
====================
The C# demos are only officially supported under Linux or Windows,
therefore the Ice for C# runtime is only included the Linux and
Windows distributions.
To run a demo, open a terminal window, change to the desired demo
directory, and enter the following command to run the server:
$ ./server.exe
To run the client, open another terminal window, also change to the
desired demo directory, and run:
$ ./client.exe
Running the Python demos
========================
To run a demo, open a terminal window, change to the desired demo
directory, and enter the following command to run the server:
$ python Server.py
To run the client, open another terminal window, also change to the
desired demo directory, and run:
$ python Client.py
|