Book Image

Learning Concurrent Programming in Scala

By : Aleksandar Prokopec
5 (1)
Book Image

Learning Concurrent Programming in Scala

5 (1)
By: Aleksandar Prokopec

Overview of this book

Table of Contents (18 chapters)
Learning Concurrent Programming in Scala
Credits
Foreword
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

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.

  1. Extend the ScalaFTP application to allow adding directories to the remote filesystem.

  2. Extend the ScalaFTP application so that the changes in the server filesystem are automatically reflected in the client program.

  3. Extend the ScalaFTP application so that it allows parallel regex searches over filenames in the remote filesystem.

  4. Extend the ScalaFTP server so that it allows recursively copying directories.

  5. Implement the download and upload functionality, and use Observable objects to display the file transfer progress in a Swing ProgressBar component.

  6. Extend the ScalaFTP client implementation so that a FilePane can display either a remote or a local...