![]() |
|
Selecting the right threading model is important as each job is done by a thread that needs a lot of system resources. Available threads are native threads, pure Java threads, and other VM specific threading models.
For example, consider a many-to-one case where multiple Java threads map to one native thread. If one Java thread is waiting for an I/O, the remaining threads also wait as that native thread is also waiting for the I/O.
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |