hi,
when ever u start a new application a new process starts. These processes have a distinct memory area of their own. Thus there is a cost involved in starting new processes. Also communicatin between these two processes too is costly.
However when u start a new
thread in a process , this shares the memory area with the existing process. this is the major advantage of threads vis a vis processes.
The sucess of
servlets with respect to cgi has been that servlets spawn threads while cgi spawns new processes which have a heavy cost.
the tern "inprocess" refers to the sharing of the memory area in general.
Regds.
Rahul