Unit 2. Process programming

Once we know about key concepts in concurrency, we can also differentiate programs and processes. In this second unit we will learn how we can launch a program from our own code, that is, how to create a process from a running process.

In addition to launch programs and create new processes, there's a relationship between the parent process and its children that allow them to communicate exchanging information. This is the way our programs will be able to launch other applications, os command or even applications developed by us. Furthermore, parent-child processes allow synchronization and communication among them.

Goals

The goals for this unit are:

  • To know Java classes for process management
  • To monitor and control process lifecycle
  • To control parent-child communications
  • To use synchronization methods for processes and sub-processes
  • To learn how pipes communications works
  • To learn curl syntax and use it for API REST testing purposes
  • To create applications that run parallel tasks
Last updated:
Contributors: Vicente Martínez