This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Difference between multithread and multiprocess Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "Difference between multithread and multiprocess" Watch "Difference between multithread and multiprocess" New topic
Author

Difference between multithread and multiprocess

Jane Somerfield
Ranch Hand

Joined: Jul 20, 2002
Posts: 192
How the multiprocess is done in Java?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24057
    
  13

"Multiprocessing" isn't really a term with a precise meaning in this context; but on most operating systems the definition of a process is running code with its own address space, and a thread shares its address space with other threads; generally a process can contain one or more threads.
Therefore "multiprocessing in Java" would imply starting multiple separate processes -- i.e., multiple separate JVMs. If one JVM wanted to start another, it would use the Runtime.exec() family of methods.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Difference between multithread and multiprocess
 
Similar Threads
JK2 with IIS5 in WIn2000 sp4 not running
multithreading,tasking
Java multiprocess communication with each process running multiple threads
More than one Java App
Is there any other solution ???