Exercises
The following exercises will improve your skills in building practical concurrent applications. Some of them require extending the ScalaFTP program from this chapter, while others require implementing concurrent applications from scratch. Finally, several exercises are dedicated to testing the performance and scalability of concurrent programs.
Extend the ScalaFTP application to allow adding directories to the remote filesystem.
Extend the ScalaFTP application so that the changes in the server filesystem are automatically reflected in the client program.
Extend the ScalaFTP application so that it allows parallel regex searches over filenames in the remote filesystem.
Extend the ScalaFTP server so that it allows recursively copying directories.
Implement the download and upload functionality, and use
Observable
objects to display the file transfer progress in a SwingProgressBar
component.Extend the ScalaFTP client implementation so that a
FilePane
can display either a remote or a local...