1.8. Exercises
Exercise 1.1 | List all the applications you can think of that can't be represented as the flow of objects into and out of a space. Review your list. Are you sure? |
Exercise 1.2 | Rerun the second version of HelloWorld; this time run several HelloWorldClients along with two HelloWorld applications. What happens? What is the cause of this output? |
Exercise 1.3 | Change HelloWorld and HelloWorldClient so that multiple instances of the application can be run independently by different users at the same time, within the same space. Was it difficult? |
Exercise 1.4 | Write a program using the standard Java API networking classes (from the java.net package) that has the same functionality as our first version of HelloWorld. Compare the two. |
Get JavaSpaces™ Principles, Patterns, and Practice now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.