Multithreading and Concurrency in Java: Spawning & Launching Threads


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

This is a hands-on course which introduces you to the implementation of concurrency in a Java application. You will become familiar with setting up, configuring and launching multiple concurrent threads. You will implement the join() method to synchronize threads and will explore a variety of thread features including their states, transitions and how they can be interrupted.



Expected Duration (hours)
1.5

Lesson Objectives

Multithreading and Concurrency in Java: Spawning & Launching Threads

  • discover the key concepts covered in this course
  • define a task to be executed within a Java thread by implementing the Runnable interface
  • extend the Thread class to define a task to be run in a thread
  • recognize the effect of the start() method in kicking off Java threads
  • use the join() method to synchronize one thread with the execution of another
  • identify the different states of a thread and the possible transitions from them
  • verify whether a thread is active by invoking the isAlive() method
  • recognize the possible and default values for a Java thread's priority
  • distinguish between user and daemon threads in Java
  • build an application that implements multithreading to download multiple web pages concurrently
  • identify situations where multithreading can be applied to speed up executions
  • describe the mechanism of thread interruption in Java
  • summarize the key concepts covered in this course
  • Course Number:
    it_jmmtcjdj_02_enus

    Expertise Level
    Intermediate