>I have a very elementary question abt the concept of using servlet engines
>(like Jrun) or application servers for running java servlets on a
[quoted text clipped - 6 lines]
> server. So why do we need it for servlets ? If someone can shed light on
> the basic concept here it would be great ! Thanks,
First off, applets do not run on the webserver--they run in the client's
browser and really don't enter into the picture of web vs. app servers. So
setting that aside, large, scalable systems use a webserver with an
application server because a good deal of content (images, documents, lead
pages, applets, flash media) is static and is more efficiently served (and
cached, shared, distributed as appropriate) simply by a webserver. Servlets
(and JSP, etc) and other functional content requires some computational
resources for each request and so must be handled by some kind of engine.
Servlets share a JVM which reduces startup costs and allows better long-term
performance through resource pooling and even helps with deployment by
allowing dynamic code replacement (via classloaders, etc)
Matt Humphrey matth@ivizNOSPAM.com http://www.iviz.com/
Navodit - 16 Aug 2006 21:02 GMT
>>I have a very elementary question abt the concept of using servlet engines
>>(like Jrun) or application servers for running java servlets on a
[quoted text clipped - 21 lines]
>
> Matt Humphrey matth@ivizNOSPAM.com http://www.iviz.com/
Thanks ! I think I get the picture now ...