Robert J. Sanford, Jr. wrote:
> the difference is that a new servlet is actually a "process" (for
> lack of a better term) in the container where the bean would not
> be - it would be invoked from the thread accessing the controller
> servlet.

        So you're substituting:

        container -> servlet -> dispatch
                  -> servlet
                ( etc )

        For:
        container -> servlet -> bean (-> bean?)

        So everything runs in the same "process tree" instead of finishing the 
execution of one servlet, pass the control to other (thus freeing some 
resources from the previous one) and so on?

        I don't know, it seems to me that the dispatch method used by the 
container is better...it may be slower (though I doubt it makes a big 
difference), but, it's a compromise.

-- 
[]'s
Marcelo Vanzin
Touch Tecnologia
[EMAIL PROTECTED]
"Life is too short to drink cheap beer"


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to