What is the difference between Process and Threads?

Answer Posted / sathya

Process are heavy weight programs which consume considerable
amnt of memory for execution and are heavily dependent on
system resources for their execution

Threads are light weight and use the min available sys
resources as a whole and can execute simultaneously to
acheive a given task.

Is This Answer Correct ?    130 Yes 23 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of the notifyall() method?

605


Name three subclasses of the component class?

612


what is a portable component?

1460


Which component handles cluster communication in jboss?

620


Explain the different types of memory used by jvm?

611






What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

578


What are the services in RMI ?

1882


Should synchronization primitives be used on bean methods?

551


What’s jboss jbpm?

576


What is mdb and what is the special feature of that?

560


Is the infobus client side only?

607


Are we allowed to change the transaction isolation property in middle of a transaction?

561


How to implement RMI in Java?

2399


What are the types of scaling?

552


Why are component architectures useful?

570