Java Reference
In-Depth Information
Figure 20.2 Histogram of the position of the spring mass in the simulation for
T = 0 . 1 and 21 bins.
Figure 20.3
Histogram of the position of the spring mass in the simulation for
T
=
0
.
001 and 51 bins.
20.8 Conclusion
This chapter has drawn together the client/server design of Chapters 16 and 17
and the power of RMI described in Chapter 18 with a simple example. The code
snippets shown here give a good starting point for implementing a server that
calculates a general simulation. For a real-world example, the details will vary.
The arrays of input and output variables will differ and will probably be much
larger. The CPU time on the server to calculate the simulation will certainly be
Search WWH ::




Custom Search