Create Your First Multithreaded Application in Java

4.5
stars
62 ratings
Offered By
Coursera Project Network
2,935 already enrolled
In this Free Guided Project, you will:

Create a banking application that uses conditions and locks to ensure thread safety

Practice designing programs to take advantage of multiple threads without losing data integrity

Learn how to apply multithreading to applications you design on your own

Showcase this hands-on experience in an interview

Clock2 Hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this 2-hour long project-based course, you will learn how to create a banking application that uses conditions and locks to ensure thread safety, practice designing programs that take advantage of multiple threads without losing data integrity, and learn how to apply multithreading to your own projects. By the end of the guided project, you will be able to create your own thread-safe Java multithreaded applications. Mutithreading is an essential part of modern programming. Almost all modern computers contain multi-core CPUs, GPUs, or even multiple CPUs. Multithreading allows us to have multiple parallel threads of execution, allowing our programs to become multiple times faster than a single threaded application. In addition, understanding parallel programming principles is essential for building many modern applications such as video games, data science, and server connections. Understanding how to create Java multithreaded applications will greatly expand your programming potential. This course works on the Rhyme platform, which allows you to have a custom Windows VM ensuring you do not have to worry about any of the setup work for your application. Students will be able to code along on their desktop and learn by coding with the instructor. At the end of the course, you will receive the files you created in the course. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Requirements

Students should have a working knowledge of how computers run programs. Students should also be able to read simple Java code containing methods.

Skills you will develop

Mathematical OptimizationConcurrent ComputingJava ConcurrencyThread SafetyJava Programming

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Discover what threads are and why we need them for a modern application

  2. Create an application in Java that uses multiple threads at once

  3. Explore race conditions and how to avoid them

  4. Learn how to synchronize threads in Java to create thread-safe applications

  5. Practice using thread pools and other automatic thread management tools

  6. Learn how to make thread work together using conditions and locks

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Reviews

TOP REVIEWS FROM CREATE YOUR FIRST MULTITHREADED APPLICATION IN JAVA

View all reviews

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.