- Describe the difference between a thread and a process
- Describe the two major problems that occur in multi-threaded systems
- Write programs using threads in Java
- Write programs using thread safe collections, queues and executors
- Lab: Understand and run a simple servlet in tomcat
- Why threads? Simple threads in Java
- Problems with threading and Synchronization primitives
- Thread coordination and Thread states
- The Producer-Consumer problem and Thread Pools
- Thread-safe collections
Can be found here
Mandatory:
- Chapter 4 of Foundations of Scalable Systems
Optional:
- Java Concurrency in Practice 1st Edition, by Brian Goetz, Tim Peierls, Joshua Bloch, Joseph Bowbeer, David Holmes, Doug Lea ** Chapters 1-8 are relevant to the assignments, so use these as your main sourse of information
- Shooting yourself in the foot with Random number generators
- Interesting article on thread-safe Java collections
- Experiment with threads
- Build a Java Servlet to process two of the APIs in Assignment 1
- Echo the API parameter values back to the client
- Learn simple testing with POSTMAN
Follow the instructions here